/* ==========================================================
   Better Living Remedies — CLINICAL MONITOR DESIGN SYSTEM
   (shared by all pages)
========================================================== */
:root[data-theme="light"] {
  --paper: #F1F5F2;
  --surface: #FFFFFF;
  --surface2: #F8FAF7;
  --surface3: #E2EAE5;

  --ink: #192D32;
  --ink2: #40585B;
  --muted: #7C9290;

  --teal: #167D83;
  --teal2: #105E66;
  --tealS: #DCEFED;

  --amber: #E68A42;
  --amberS: #FFF0E1;

  --mint: #528F62;
  --mintS: #E3F0E5;

  --rose: #D65E54;
  --roseS: #F9E6E1;

  --slate: #527DBB;
  --slateS: #E5EDF8;

  --grid: rgba(25, 45, 50, .055);
  --line: rgba(25, 45, 50, .14);
  --line2: rgba(25, 45, 50, .065);

  --sh: 0 2px 0 rgba(25, 45, 50, .06);
  --sh2: 0 18px 40px -16px rgba(25, 45, 50, .16);
  --sh3: 0 30px 66px -24px rgba(25, 45, 50, .23);
}

:root[data-theme="dark"] {
  --paper: #101A20;
  --surface: #19262D;
  --surface2: #203139;
  --surface3: #2B4048;

  --ink: #F1F5EF;
  --ink2: #C4D2CE;
  --muted: #91A7A5;

  --teal: #55C5BB;
  --teal2: #79DAD0;
  --tealS: #193B3D;

  --amber: #F2AC68;
  --amberS: #3C2A1D;

  --mint: #8BCB91;
  --mintS: #203B2B;

  --rose: #F18B7E;
  --roseS: #402522;

  --slate: #8CB5EB;
  --slateS: #1F344C;

  --grid: rgba(241, 245, 239, .045);
  --line: rgba(241, 245, 239, .13);
  --line2: rgba(241, 245, 239, .065);

  --sh: 0 2px 0 rgba(0, 0, 0, .35);
  --sh2: 0 18px 40px -16px rgba(0, 0, 0, .55);
  --sh3: 0 30px 66px -24px rgba(0, 0, 0, .72);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink2);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .45s, color .45s;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 30px 30px;
}
.bg-wash {
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 500px at 8% 4%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 66%),
    radial-gradient(560px 460px at 94% 22%, color-mix(in srgb, var(--amber) 11%, transparent), transparent 68%),
    radial-gradient(600px 520px at 52% 98%, color-mix(in srgb, var(--slate) 10%, transparent), transparent 70%);
  transform: translate3d(var(--wx, 0px), var(--wy, 0px), 0);
  transition: transform 1s cubic-bezier(.2, .8, .3, 1);
}
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: 'Familjen Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.08;
}
p { margin: 0 }
a { color: inherit; text-decoration: none }
ul { margin: 0; padding: 0; list-style: none }
button, input, select, textarea { font: inherit }
::selection { background: var(--amber); color: #0C2129 }
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 1
}
.mono { font-family: 'IBM Plex Mono', monospace }
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono';
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.tagline::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px
}
.h1x {
  font-size: clamp(42px, 4.4vw, 50px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1
}
.h2x {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.035em
}
.txt { font-size: 16.5px; color: var(--muted) }
.mark-word {
  position: relative;
  display: inline-block;
  color: var(--teal)
}
.mark-word::after {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: .04em;
  height: .3em;
  z-index: -1;
  background: var(--amberS);
  border: 1.5px solid color-mix(in srgb, var(--amber) 45%, transparent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: mkIn .85s .8s cubic-bezier(.3, .9, .3, 1) forwards;
}
@keyframes mkIn { to { transform: scaleX(1) } }

/* ==========================================================
BUTTONS
========================================================== */
.b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'IBM Plex Sans';
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  transition: transform .26s cubic-bezier(.3, 1.3, .5, 1), box-shadow .26s, background .25s, color .25s, border-color .25s;
}
.b:hover { transform: translateY(-3px) }
.b:active { transform: translateY(0) }
.b-teal { background: var(--teal); color: #fff; box-shadow: var(--sh) }
.b-teal:hover { background: var(--teal2); color: #fff; box-shadow: 0 12px 26px -10px var(--teal) }
:root[data-theme="dark"] .b-teal { color: #071614 }
:root[data-theme="dark"] .b-teal:hover { color: #071614 }
.b-amber { background: var(--amber); color: #0C2129 }
.b-amber:hover { background: color-mix(in srgb, var(--amber) 88%, #000); color: #0C2129 }
.b-out { background: var(--surface); color: var(--ink); border-color: var(--line) }
.b-out:hover { border-color: var(--teal); color: var(--teal) }
.b-rose { background: var(--rose); color: #fff }
.b-rose:hover { color: #fff }
.b-sm { padding: 9px 15px; font-size: 13px; border-radius: 7px }
.b i { transition: transform .25s }
.b:hover i { transform: translateX(3px) }

/* ==========================================================
SCROLL PROGRESS
========================================================== */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--amber));
  transition: width .09s linear;
}

/* ==========================================================
TOP NAV WITH SLIDING PILL INDICATOR
========================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--line);
  transition: background .4s, box-shadow .3s;
}
.topbar.stuck { box-shadow: 0 10px 26px -14px rgba(12, 33, 41, .3) }
.tb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'Familjen Grotesk';
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em
}
.bmark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .bmark { color: #071614 }
.bmark .wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: color-mix(in srgb, #fff 22%, transparent);
  animation: waveMove 2.6s ease-in-out infinite
}
@keyframes waveMove {
  0%, 100% { transform: translateY(6px) }
  50% { transform: translateY(-2px) }
}
.brand small {
  display: block;
  font-family: 'IBM Plex Mono';
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.navwrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 100px;
  background: var(--surface2);
  border: 1.5px solid var(--line2)
}
.nav-ind {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  border-radius: 100px;
  background: var(--teal);
  z-index: 0;
  transition: left .42s cubic-bezier(.4, 1.2, .4, 1), width .42s cubic-bezier(.4, 1.2, .4, 1);
  box-shadow: 0 6px 16px -6px var(--teal);
}
.nv {
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
  transition: color .3s;
  white-space: nowrap;
}
.nv:hover { color: var(--ink) }
.nv.on { color: #fff }
:root[data-theme="dark"] .nv.on { color: #071614 }
.tb-right { display: flex; align-items: center; gap: 10px }
.tswitch {
  position: relative;
  width: 70px;
  height: 38px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--surface2);
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: .3s;
}
.tswitch .tk {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: left .42s cubic-bezier(.4, 1.3, .4, 1), background .3s;
}
:root[data-theme="dark"] .tswitch .tk {
  left: 35px;
  background: var(--amber);
  color: #0C2129
}
.burg {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer
}
@media(max-width:1120px) {
  .navwrap { display: none }
  .burg { display: grid; place-items: center }
}
@media(max-width:520px) {
  .tb-right .b { display: none }
}

/* mobile drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(352px, 90vw);
  z-index: 1150;
  background: var(--surface);
  border-left: 1.5px solid var(--line);
  transform: translateX(105%);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  padding: 22px;
  overflow-y: auto;
}
.drawer.open { transform: none }
.drawer-bd {
  position: fixed;
  inset: 0;
  z-index: 1140;
  background: rgba(12, 33, 41, .45);
  opacity: 0;
  visibility: hidden;
  transition: .4s;
  backdrop-filter: blur(3px)
}
.drawer-bd.open { opacity: 1; visibility: visible }
.drawer .dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--line2)
}
.drawer a.dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line2);
  font-family: 'Familjen Grotesk';
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.drawer a.dl span {
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  color: var(--muted)
}

/* ==========================================================
HERO — CARE MONITOR CONSOLE
========================================================== */
.hero { padding: 56px 0 34px; position: relative; z-index: 1 }
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 46px;
  align-items: center
}
@media(max-width:980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh);
}
.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  position: relative
}
.badge .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: ring 2s ease-out infinite
}
@keyframes ring {
  0% { transform: scale(.5); opacity: .9 }
  100% { transform: scale(1.8); opacity: 0 }
}
.hero h1 { margin: 22px 0 20px }
.hero-copy { max-width: 580px }
.hcta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }
.hchecks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
  margin-top: 26px;
  max-width: 580px
}
@media(max-width:520px) {
  .hchecks { grid-template-columns: 1fr }
}
.hc {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink)
}
.hc i { color: var(--mint); font-size: 14px }

/* monitor console */
.console {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh3);
  overflow: hidden;
}
.con-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--line);
  background: var(--surface2);
}
.con-h b {
  font-family: 'Familjen Grotesk';
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  gap: 9px;
  align-items: center
}
.con-h b i { color: var(--teal) }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
}
.live .bl {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  animation: blink 1.4s steps(1, end) infinite
}
@keyframes blink {
  0%, 60% { opacity: 1 }
  61%, 100% { opacity: .25 }
}
.screen {
  position: relative;
  height: 190px;
  background: var(--surface2);
  border-bottom: 1.5px solid var(--line);
  overflow: hidden;
}
.screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px);
  background-size: 22px 22px;
}
.screen svg { position: absolute; inset: 0; width: 100%; height: 100% }
.readout {
  position: absolute;
  top: 12px;
  left: 16px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.readout span b {
  color: var(--ink);
  font-size: 14px;
  display: block;
  letter-spacing: 0
}
.con-body { padding: 18px }
.con-lbl {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 11px;
}
.pick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin
}
.pick::-webkit-scrollbar { height: 5px }
.pick::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px }
.pbtn {
  flex: none;
  border: 1.5px solid var(--line);
  background: var(--surface2);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 13px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: .22s;
  white-space: nowrap;
}
.pbtn:hover { border-color: var(--teal); transform: translateY(-2px) }
.pbtn.on { background: var(--teal); border-color: var(--teal); color: #fff }
:root[data-theme="dark"] .pbtn.on { color: #071614 }
.match {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 11px;
  background: var(--surface2);
  border-left: 4px solid var(--teal);
  transition: border-color .4s;
}
.match .mt {
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}
.match b {
  display: block;
  font-family: 'Familjen Grotesk';
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  margin: 3px 0 4px
}
.match p { font-size: 13.5px; color: var(--muted) }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.slot {
  border: 1.5px solid var(--line);
  background: var(--surface2);
  color: var(--ink);
  border-radius: 7px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'IBM Plex Mono';
  font-size: 12px;
  font-weight: 600;
  transition: .2s;
}
.slot:hover { border-color: var(--amber); transform: translateY(-2px) }
.slot.on { background: var(--amber); border-color: var(--amber); color: #0C2129 }
.slot.taken { opacity: .4; cursor: not-allowed; text-decoration: line-through }
.slot.taken:hover { transform: none; border-color: var(--line) }
.held {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--mintS);
  border-left: 4px solid var(--mint);
  font-size: 13.5px;
  color: var(--ink2);
  display: none;
}
.held.on { display: block; animation: slideUp .4s cubic-bezier(.3, 1.2, .4, 1) }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px) }
  to { opacity: 1; transform: none }
}

/* vitals marquee */
.vstrip {
  margin-top: 38px;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.vtrack {
  display: flex;
  gap: 0;
  width: max-content;
  animation: vm 40s linear infinite
}
.vstrip:hover .vtrack { animation-play-state: paused }
@keyframes vm { to { transform: translateX(-50%) } }
.vitem {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 26px;
  border-right: 1.5px solid var(--line2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.vitem i { color: var(--teal); font-size: 14px }

/* ==========================================================
SECTIONS
========================================================== */
.sec { padding: 100px 0; position: relative; z-index: 1 }
@media(max-width:768px) {
  .sec { padding: 68px 0 }
}
.shead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 44px
}
@media(max-width:820px) {
  .shead { grid-template-columns: 1fr; gap: 14px }
}
.shead h2 { margin: 12px 0 12px }
.shead .txt { max-width: 560px }
.snum {
  font-family: 'IBM Plex Mono';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--amber);
  text-transform: uppercase;
}

/* ==========================================================
ABOUT
========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 46px;
  align-items: start
}
@media(max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px }
}
.about-grid .lede {
  font-size: 18.5px;
  font-weight: 500;
  color: var(--ink2);
  margin-top: 10px;
}
.about-grid p+p { margin-top: 16px }
.quotebox {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--sh2);
  position: relative;
  overflow: hidden;
}
.quotebox::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  right: 14px;
  font-family: 'Familjen Grotesk';
  font-size: 150px;
  color: var(--teal);
  opacity: .1;
  line-height: 1;
}
.quotebox p {
  font-family: 'Familjen Grotesk';
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.42;
  letter-spacing: -.02em
}
.quotebox .who {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line2)
}
.quotebox .av {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--tealS);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.quotebox .who small { display: block; font-size: 12.5px; color: var(--muted) }
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 16px
}
@media(max-width:520px) {
  .promise { grid-template-columns: 1fr }
}
.pm {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  box-shadow: var(--sh);
  transition: .3s;
}
.pm:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--teal) }
.pm i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--tealS);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 15px;
  margin-bottom: 11px;
}
.pm:nth-child(2) i { background: var(--amberS); color: var(--amber) }
.pm:nth-child(3) i { background: var(--roseS); color: var(--rose) }
.pm:nth-child(4) i { background: var(--slateS); color: var(--slate) }
.pm h4 { font-size: 15.5px; margin-bottom: 5px }
.pm p { font-size: 13.4px; color: var(--muted) }
.impacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 44px
}
@media(max-width:900px) {
  .impacts { grid-template-columns: 1fr 1fr }
}
@media(max-width:520px) {
  .impacts { grid-template-columns: 1fr }
}
.im {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition: .32s;
}
.im::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.3, .9, .3, 1);
}
.im:hover { transform: translateY(-5px); box-shadow: var(--sh2) }
.im:hover::before { transform: scaleY(1) }
.im:nth-child(2)::before { background: var(--amber) }
.im:nth-child(3)::before { background: var(--mint) }
.im:nth-child(4)::before { background: var(--rose) }
.im .ie { font-size: 24px; margin-bottom: 11px; display: block }
.im h4 { font-size: 16px; margin-bottom: 6px }
.im p { font-size: 13.6px; color: var(--muted) }

/* ==========================================================
SERVICES — DRAG FOLDER RAIL
========================================================== */
.railhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px
}
.railbtns { display: flex; gap: 9px }
.rbtn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  transition: .25s;
}
.rbtn:hover:not(:disabled) { background: var(--teal); color: #fff; border-color: var(--teal) }
:root[data-theme="dark"] .rbtn:hover:not(:disabled) { color: #071614 }
.rbtn:disabled { opacity: .35; cursor: not-allowed }
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}
.rail::-webkit-scrollbar { display: none }
.rail.dragging { cursor: grabbing; scroll-snap-type: none }
.folder {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px 24px;
  position: relative;
  box-shadow: var(--sh);
  transition: transform .4s cubic-bezier(.3, 1.2, .4, 1), box-shadow .4s, border-color .3s;
  display: flex;
  flex-direction: column;
}
.folder::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 22px;
  width: 96px;
  height: 22px;
  border-radius: 7px 7px 0 0;
  background: var(--teal);
  border: 1.5px solid var(--line);
  border-bottom: 0;
  transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), background .3s;
}
.folder:nth-child(8n+2)::before { background: var(--amber) }
.folder:nth-child(8n+3)::before { background: var(--mint) }
.folder:nth-child(8n+4)::before { background: var(--rose) }
.folder:nth-child(8n+5)::before { background: var(--slate) }
.folder:nth-child(8n+6)::before { background: var(--amber) }
.folder:nth-child(8n+7)::before { background: var(--teal) }
.folder:nth-child(8n+8)::before { background: var(--mint) }
.folder:hover { transform: translateY(-9px); box-shadow: var(--sh3); border-color: var(--teal) }
.folder:hover::before { transform: translateY(-3px) }
.folder .fno {
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.folder .fe {
  font-size: 34px;
  margin: 12px 0 12px;
  display: block;
  transition: transform .4s cubic-bezier(.3, 1.4, .5, 1)
}
.folder:hover .fe { transform: scale(1.14) rotate(-6deg) }
.folder h3 { font-size: 21px; margin-bottom: 10px }
.folder p { font-size: 14.3px; color: var(--muted); flex: 1 }
.folder .inc { display: grid; gap: 8px; margin-top: 16px }
.folder .inc span {
  display: flex;
  gap: 9px;
  font-size: 13.2px;
  font-weight: 500;
  color: var(--ink2)
}
.folder .inc i { color: var(--mint); margin-top: 4px; font-size: 11px }
.folder .flink {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  transition: gap .25s;
}
.folder .flink:hover { gap: 12px }
.scrub {
  height: 5px;
  border-radius: 99px;
  background: var(--surface3);
  overflow: hidden;
  margin-top: 6px
}
.scrub i {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: 99px;
  background: var(--teal);
  transition: transform .18s linear
}

/* ==========================================================
INSURANCE SECTIONS
========================================================== */
.ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center
}
@media(max-width:900px) {
  .ins-grid { grid-template-columns: 1fr; gap: 30px }
}
.ins-grid h2 { margin: 12px 0 16px }
.ins-grid p+p { margin-top: 14px }
.notes { display: grid; gap: 12px; margin-top: 22px }
.notes li { display: flex; gap: 13px; font-size: 15.5px }
.notes .nd {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: var(--tealS);
  color: var(--teal);
}
.notes li:nth-child(2) .nd { background: var(--amberS); color: var(--amber) }
.notes li:nth-child(3) .nd { background: var(--roseS); color: var(--rose) }
.notes b { color: var(--ink); font-weight: 600 }
.panelbox {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--sh2);
}
.panelbox h3 {
  font-size: 19.5px;
  margin-bottom: 4px;
  display: flex;
  gap: 10px;
  align-items: center
}
.panelbox h3 i { color: var(--teal) }
.panelbox>p { font-size: 13.8px; color: var(--muted) }
.chipsrow { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 }
.chip {
  border: 1.5px solid var(--line);
  background: var(--surface2);
  color: var(--ink);
  border-radius: 100px;
  padding: 9px 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: .22s;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.chip:hover { border-color: var(--teal); transform: translateY(-2px) }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff }
:root[data-theme="dark"] .chip.on { color: #071614 }
.chartbox {
  background: var(--surface2);
  border: 1.5px solid var(--line2);
  border-radius: 11px;
  padding: 16px;
  height: 290px;
  position: relative;
}
.chartbox.tall { height: 300px }
.outnote {
  margin-top: 16px;
  padding: 15px 17px;
  border-radius: 11px;
  background: var(--amberS);
  border-left: 4px solid var(--amber);
  font-size: 14px;
  color: var(--ink2);
}
.outnote b {
  display: block;
  font-family: 'Familjen Grotesk';
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600
}
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px }
.lg {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2)
}
.lg .sw { width: 12px; height: 12px; border-radius: 3px }
.rangerow { margin: 16px 0 }
.rangerow label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.rangerow label output {
  font-family: 'IBM Plex Mono';
  font-size: 16px;
  font-weight: 600;
  color: var(--rose)
}
input[type=range].vr {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 99px;
  background: var(--surface3);
  border: 1.5px solid var(--line);
  outline: none;
}
input[type=range].vr::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--rose);
  border: 2.5px solid var(--surface);
  cursor: grab;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .28);
}
input[type=range].vr::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--rose);
  border: 2.5px solid var(--surface);
  cursor: grab;
}
.totalbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line2);
}
.totalbar .tn {
  display: block;
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted)
}
.totalbar .tv {
  font-family: 'Familjen Grotesk';
  font-size: 31px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.03em
}

/* ==========================================================
WHY — STAGGERED SLASH CARDS
========================================================== */
.whygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
@media(max-width:820px) {
  .whygrid { grid-template-columns: 1fr }
}
.why {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh);
  transition: .35s;
}
.why:nth-child(even) { margin-top: 34px }
@media(max-width:820px) {
  .why:nth-child(even) { margin-top: 0 }
}
.why::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: var(--tealS);
  transform: rotate(24deg);
  transition: transform .55s cubic-bezier(.3, 1.1, .4, 1);
}
.why:nth-child(3n+2)::before { background: var(--amberS) }
.why:nth-child(3n)::before { background: var(--roseS) }
.why:hover { transform: translateY(-6px); box-shadow: var(--sh3); border-color: var(--teal) }
.why:hover::before { transform: rotate(48deg) scale(1.25) }
.why>* { position: relative; z-index: 1 }
.why .wn {
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.why .we {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 14px;
  transition: .35s;
}
.why:hover .we {
  transform: rotate(-8deg) scale(1.06);
  background: var(--surface);
  border-color: var(--teal)
}
.why h3 { font-size: 20px; margin-bottom: 10px }
.why p { font-size: 14.5px; color: var(--muted) }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px }
.tg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: .25s;
}
.tg:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px) }

/* ==========================================================
TESTIMONIALS — SCATTERED POSTCARDS
========================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px }
.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px
}
@media(max-width:980px) {
  .wall { grid-template-columns: 1fr 1fr }
}
@media(max-width:620px) {
  .wall { grid-template-columns: 1fr }
}
.card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--sh2);
  position: relative;
  transition: transform .45s cubic-bezier(.3, 1.2, .4, 1), box-shadow .4s, border-color .3s, opacity .35s;
}
.card:nth-child(3n+1) { transform: rotate(-1.8deg) }
.card:nth-child(3n+2) { transform: rotate(1.2deg) translateY(14px) }
.card:nth-child(3n) { transform: rotate(-.7deg) translateY(6px) }
.card:hover {
  transform: rotate(0) translateY(-8px) !important;
  box-shadow: var(--sh3);
  border-color: var(--teal);
  z-index: 2
}
.card.hide {
  opacity: 0;
  transform: scale(.9) !important;
  pointer-events: none;
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden
}
.card .pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .3), inset 0 -3px 5px rgba(0, 0, 0, .22);
}
.card .st { color: var(--amber); letter-spacing: 2.5px; font-size: 13px; margin-bottom: 12px }
.card p { font-size: 14.8px; color: var(--ink2); line-height: 1.72 }
.card .who {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1.5px dashed var(--line2)
}
.card .av {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--tealS);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
  flex: none;
}
.card .who b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-family: 'Familjen Grotesk';
  font-weight: 600
}
.card .who small { font-size: 12.5px; color: var(--muted) }
.card .cat {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'IBM Plex Mono';
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================
FAQ — MASTER / DETAIL
========================================================== */
.faqgrid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: start
}
@media(max-width:880px) {
  .faqgrid { grid-template-columns: 1fr; gap: 22px }
}
.qlist { display: grid; gap: 9px }
.qbtn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 15px 17px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
  transition: .25s;
}
.qbtn:hover { border-color: var(--teal); color: var(--ink); transform: translateX(4px) }
.qbtn.on { background: var(--teal); border-color: var(--teal); color: #fff }
:root[data-theme="dark"] .qbtn.on { color: #071614 }
.qbtn .qn {
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  font-weight: 600;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: var(--surface2);
  display: grid;
  place-items: center;
  transition: .25s;
}
.qbtn.on .qn { background: color-mix(in srgb, #fff 22%, transparent) }
:root[data-theme="dark"] .qbtn.on .qn { background: rgba(7, 22, 20, .16) }
.qbtn i.fa-chevron-right { margin-left: auto; font-size: 11px; opacity: .6 }
.apanel {
  position: sticky;
  top: 98px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--sh2);
  min-height: 280px;
}
.apanel .al {
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.apanel h3 { font-size: 24px; margin-bottom: 14px; line-height: 1.2 }
.apanel p { font-size: 16px; color: var(--ink2); line-height: 1.78 }
.apanel .swap { animation: swapIn .45s cubic-bezier(.3, 1, .4, 1) }
@keyframes swapIn {
  from { opacity: 0; transform: translateY(12px) }
  to { opacity: 1; transform: none }
}
.apanel .foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1.5px solid var(--line2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================
NEWSLETTER — PRESCRIPTION PAD
========================================================== */
.rx {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh3);
}
.rx-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--teal);
  color: #fff;
  border-bottom: 1.5px solid var(--line);
}
:root[data-theme="dark"] .rx-h { color: #071614 }
.rx-h b {
  font-family: 'Familjen Grotesk';
  font-size: 17px;
  font-weight: 600;
  display: flex;
  gap: 11px;
  align-items: center
}
.rx-h span {
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .85
}
.rx-b {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  background-image: repeating-linear-gradient(transparent, transparent 33px, var(--line2) 33px, var(--line2) 34px);
}
@media(max-width:880px) {
  .rx-b { grid-template-columns: 1fr }
}
.rx-l { padding: 30px 26px; border-right: 1.5px solid var(--line2) }
@media(max-width:880px) {
  .rx-l { border-right: 0; border-bottom: 1.5px solid var(--line2) }
}
.rx-l h2 { font-size: clamp(24px, 3vw, 33px); margin: 12px 0 }
.rx-l p { font-size: 15px; color: var(--muted) }
.rx-l li { display: flex; gap: 11px; font-size: 14.5px; padding: 6px 0; color: var(--ink2) }
.rx-l li i { color: var(--teal); margin-top: 5px; font-size: 12px }
.rx-r { padding: 30px 26px }

/* ==========================================================
FORMS
========================================================== */
.lb {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px
}
.inp, select.inp, textarea.inp {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: .22s;
}
.inp:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--tealS);
  background: var(--surface)
}
.inp::placeholder { color: var(--muted); opacity: .8 }
select.inp {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
  cursor: pointer;
}
textarea.inp { min-height: 122px; resize: vertical }
.ck { display: flex; gap: 12px; align-items: flex-start; cursor: pointer }
.ck input {
  appearance: none;
  width: 21px;
  height: 21px;
  min-width: 21px;
  margin-top: 2px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--surface2);
  cursor: pointer;
  position: relative;
  transition: .2s;
}
.ck input:checked { background: var(--teal); border-color: var(--teal) }
.ck input:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}
.ck span { font-size: 13.6px; line-height: 1.6; color: var(--muted) }
.er { display: none; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--rose) }
.bad .inp { border-color: var(--rose); box-shadow: 0 0 0 4px var(--roseS) }
.bad .er { display: block }
.fl { position: relative }
.unsub {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: .2s;
}
.unsub:hover { color: var(--rose) }

/* ==========================================================
CONTACT
========================================================== */
.ct {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items: start
}
@media(max-width:900px) {
  .ct { grid-template-columns: 1fr }
}
.cform {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--sh2)
}
.ci {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 17px 18px;
  margin-bottom: 11px;
  box-shadow: var(--sh);
  transition: .3s;
}
.ci:hover { transform: translateX(5px); border-color: var(--teal) }
.ci .ce {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--tealS);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.ci:nth-child(2) .ce { background: var(--amberS); color: var(--amber) }
.ci:nth-child(3) .ce { background: var(--roseS); color: var(--rose) }
.ci:nth-child(4) .ce { background: var(--slateS); color: var(--slate) }
.ci h4 { font-size: 14.5px; margin-bottom: 3px; font-family: 'Familjen Grotesk'; font-weight: 600 }
.ci p { font-size: 13.6px; color: var(--muted) }
.callb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  background: var(--teal);
  color: #fff;
  border-radius: 11px;
  padding: 18px 22px;
  font-family: 'Familjen Grotesk';
  font-size: 17px;
  font-weight: 600;
  transition: .3s;
}
:root[data-theme="dark"] .callb { color: #071614 }
.callb:hover { transform: translateY(-3px); box-shadow: var(--sh2); color: #fff }
:root[data-theme="dark"] .callb:hover { color: #071614 }

/* ==========================================================
FOOTER
========================================================== */
footer {
  background: var(--surface);
  border-top: 1.5px solid var(--line);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}
.fg {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
  gap: 34px;
  padding-bottom: 40px
}
@media(max-width:920px) {
  .fg { grid-template-columns: 1fr 1fr }
}
@media(max-width:540px) {
  .fg { grid-template-columns: 1fr }
}
footer h5 {
  font-family: 'IBM Plex Mono';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
footer p, footer li, footer a { font-size: 14.5px; color: var(--muted) }
footer .fl2 { display: inline-block; padding: 4.5px 0; transition: .22s }
footer .fl2:hover { color: var(--teal); transform: translateX(4px) }
.fsoc { display: flex; gap: 9px; margin-top: 18px }
.fsoc a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--ink);
  transition: .28s;
}
.fsoc a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-4px) }
:root[data-theme="dark"] .fsoc a:hover { color: #071614 }
.frem {
  border: 1.5px dashed var(--line);
  border-radius: 11px;
  padding: 17px;
  margin-top: 8px;
  background: var(--surface2)
}
.frem b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 5px;
  font-family: 'Familjen Grotesk';
  font-weight: 600
}
.frem p { font-size: 13px; margin-bottom: 12px }
.fbot {
  border-top: 1.5px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.fbot button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: .2s
}
.fbot button:hover { color: var(--teal) }

/* ==========================================================
MODALS (kept for compatibility)
========================================================== */
.modal-content {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink2);
  box-shadow: var(--sh3)
}
.modal-header { border-bottom: 1.5px solid var(--line); padding: 20px 26px }
.modal-title {
  font-family: 'Familjen Grotesk';
  font-size: 20px;
  color: var(--ink);
  font-weight: 600
}
.modal-body { padding: 26px }
.modal-footer { border-top: 1.5px solid var(--line); padding: 15px 26px }
.mx {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--surface2);
  color: var(--ink);
  cursor: pointer;
  transition: .25s;
}
.mx:hover { background: var(--rose); border-color: var(--rose); color: #fff; transform: rotate(90deg) }
.modal.fade .modal-dialog {
  transform: translateY(26px) scale(.97);
  transition: transform .45s cubic-bezier(.3, 1.2, .4, 1)
}
.modal.show .modal-dialog { transform: none }
.legal h4 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: 'Familjen Grotesk';
  font-size: 17px;
  color: var(--ink);
  margin: 26px 0 10px;
  font-weight: 600
}
.legal .n {
  font-family: 'IBM Plex Mono';
  font-size: 11px;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: .08em
}
.legal p, .legal li { font-size: 14.8px; line-height: 1.78 }
.legal p { margin-bottom: 11px }
.legal ul { padding-left: 20px; list-style: disc }
.legal .intro {
  background: var(--tealS);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14.8px;
  color: var(--ink);
  font-weight: 500
}

/* toast + top */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1300;
  transform: translate(-50%, 180%);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--sh3);
  transition: transform .5s cubic-bezier(.3, 1.2, .4, 1);
  max-width: 92vw;
  display: flex !important;
  opacity: 1 !important;
}
.toast.on { transform: translate(-50%, 0) }
#toTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  box-shadow: var(--sh2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .35s;
}
#toTop.on { opacity: 1; visibility: visible; transform: none }
#toTop:hover { background: var(--teal); color: #fff; border-color: var(--teal) }
:root[data-theme="dark"] #toTop:hover { color: #071614 }

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s cubic-bezier(.25, .9, .3, 1), transform .85s cubic-bezier(.25, .9, .3, 1)
}
.rv.on { opacity: 1; transform: none }
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition-duration: .01ms !important
  }
  .rv { opacity: 1; transform: none }
}

/* ==========================================================
MULTI-PAGE ADDITIONS (page hero, legal pages, unsubscribe)
========================================================== */
.pagehead {
  padding: 64px 0 54px;
  border-bottom: 1.5px solid var(--line);
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--surface) 45%, transparent);
}
.pagehead .crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono';
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.pagehead .crumb a { color: var(--teal); transition: color .2s }
.pagehead .crumb a:hover { color: var(--teal2) }
.pagehead .crumb i { font-size: 10px }
.pagehead .snum { display: block; margin-bottom: 10px }
.pagehead h1 { margin: 0 0 14px }
.pagehead .txt { max-width: 660px }
.pagehead .tagline { margin-top: 20px }

.legalcard {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 38px;
  box-shadow: var(--sh2);
  max-width: 920px;
  margin: 0 auto;
}
@media(max-width:640px) {
  .legalcard { padding: 24px 20px }
}

.ucard {
  max-width: 730px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 34px;
  box-shadow: var(--sh2);
}
@media(max-width:640px) {
  .ucard { padding: 24px 20px }
}
.uhead { text-align: center; margin-bottom: 24px }
.uhead .uicon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--roseS);
  color: var(--rose);
  display: inline-grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.uhead h2 { font-size: 26px; margin-bottom: 8px }
.uhead p { color: var(--muted); font-size: 15px }
.udone { display: none; text-align: center; padding: 24px 8px 8px }
.udone.on { display: block; animation: slideUp .4s cubic-bezier(.3, 1.2, .4, 1) }
.udone > i { font-size: 42px; color: var(--mint); margin-bottom: 14px; display: block }
.udone h3 { font-size: 24px; margin-bottom: 10px }
.udone p { color: var(--muted); max-width: 430px; margin: 0 auto 20px }
.ufoot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line2);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.inlink {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.inlink:hover { color: var(--rose) }

.fbot a { font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .2s }
.fbot a:hover { color: var(--teal) }

a.unsub { display: inline-block }