/* Bryndeli for Families: standalone page styles (does not use base.css).
   Motion is gated behind html.js so the page is fully readable without JS,
   and everything is switched off under prefers-reduced-motion. */
:root {
  --f-bg: #FAF7F2;
  --f-band: #F2ECE3;
  --f-pine: #2D6A4F;
  --f-pine-dark: #1F4D39;
  --f-pill: #E6EFE9;
  --f-terracotta: #BC6C42;
  --f-terracotta-dark: #8A4522;
  --f-terracotta-light: #FBF1EA;
  --f-heading: #2B211C;
  --f-body: #3A2E27;
  --f-text-2: #4A3C33;
  --f-text-3: #5C4B40;
  --f-muted: #6B5A4E;
  --f-border: #E4DCD2;
  --f-input-border: #CFC4B7;
  --f-error: #A12B1F;
  --f-serif: Fraunces, Georgia, serif;
  --f-sans: Inter, system-ui, sans-serif;
  --f-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --f-shadow: 0 1px 2px rgba(58, 46, 39, 0.05), 0 12px 32px -12px rgba(58, 46, 39, 0.18);
  --f-shadow-lift: 0 2px 4px rgba(58, 46, 39, 0.06), 0 22px 44px -16px rgba(45, 106, 79, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 88px; }

body.families {
  margin: 0;
  font-family: var(--f-sans);
  background: var(--f-bg);
  color: var(--f-body);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: clip;
}

.families a { color: var(--f-pine); }
.families a:hover { color: var(--f-pine-dark); }
.families :focus-visible {
  outline: 3px solid var(--f-pine-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.families h1, .families h2, .families h3, .families p, .families ul { margin: 0; }
.families h2 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 40px);
  line-height: 1.15;
  color: var(--f-heading);
}
.families h3 { color: var(--f-heading); }

/* ---------- Header ---------- */
.f-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.f-header-wrap.scrolled {
  border-bottom-color: var(--f-border);
  box-shadow: 0 8px 24px -16px rgba(58, 46, 39, 0.2);
}
.f-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.f-wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.f-wordmark-name {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--f-pine);
}
.f-wordmark-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  padding: 5px 12px 5px 9px;
  background: var(--f-pill);
  color: var(--f-pine-dark);
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s var(--f-ease);
}
.f-wordmark-sub svg { width: 13px; height: 13px; color: var(--f-terracotta); }
.f-wordmark:hover .f-wordmark-sub { background: #D9E8DF; transform: translateY(-1px); }
.families a.f-header-link {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--f-pine);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--f-ease);
}
.families a.f-header-link:hover { background: var(--f-pine); color: #FFFFFF; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.f-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--f-pine);
  color: #FFFFFF;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  border: 0;
  padding: 15px 26px;
  border-radius: 12px;
  min-height: 48px;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(45, 106, 79, 0.7);
  transition: background 0.25s, transform 0.25s var(--f-ease), box-shadow 0.25s;
}
.families a.f-btn { color: #FFFFFF; }
.f-btn:hover, .families a.f-btn:hover {
  background: var(--f-pine-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(31, 77, 57, 0.75);
}
.f-btn:active { transform: translateY(0); }
.f-btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.f-btn .f-arrow { transition: transform 0.25s var(--f-ease); }
.f-btn:hover .f-arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.f-hero-bg { position: relative; overflow: hidden; }
.f-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.f-blob-1 { width: 520px; height: 520px; background: rgba(45, 106, 79, 0.16); top: -160px; right: -120px; animation: f-drift 16s ease-in-out infinite alternate; }
.f-blob-2 { width: 420px; height: 420px; background: #F3D9C8; opacity: 0.7; bottom: -140px; left: -140px; animation: f-drift 20s ease-in-out infinite alternate-reverse; }
.f-ring {
  position: absolute;
  border: 1.5px solid rgba(45, 106, 79, 0.18);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.f-ring-1 { width: 620px; height: 620px; right: -180px; top: 40px; animation: f-spin 60s linear infinite; border-style: dashed; }
.f-ring-2 { width: 420px; height: 420px; right: -80px; top: 140px; }

.f-hero {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 32px 112px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.f-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.f-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--f-pill);
  color: var(--f-pine-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.f-pill-sm { padding: 5px 10px; }
.f-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--f-pine);
  position: relative;
}
.f-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--f-pine);
  animation: f-ping 2s var(--f-ease) infinite;
}
.families h1 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 58px);
  line-height: 1.08;
  color: var(--f-heading);
}
.f-hl {
  background-image: linear-gradient(var(--f-pill), var(--f-pill));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.42em;
  padding: 0 4px;
  margin: 0 -4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
html.js .f-hl { background-size: 0 0.42em; transition: background-size 0.9s var(--f-ease) 0.9s; }
html.js .f-hl.in { background-size: 100% 0.42em; }
.f-lede { font-size: 19px; color: var(--f-text-2); max-width: 520px; }
.f-cta { display: flex; flex-direction: column; gap: 14px; }
.f-note { font-size: 15px; color: var(--f-text-3); }

/* Phone mockup */
.f-phone-wrap { display: flex; justify-content: center; position: relative; }
.f-phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  max-width: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.22), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.f-phone-float { position: relative; z-index: 1; animation: f-float 7s ease-in-out infinite; max-width: 100%; }
.f-phone {
  width: 320px;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--f-border);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 24px 48px rgba(58, 46, 39, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: rotate(1.5deg);
}
.f-phone-top { display: flex; justify-content: space-between; align-items: center; }
.f-phone-title { font-family: var(--f-serif); font-weight: 600; font-size: 18px; color: var(--f-pine); }
.f-phone-time { font-size: 12px; color: var(--f-muted); }
.f-phone-changes {
  background: var(--f-terracotta-light);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.f-phone-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--f-terracotta-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.f-phone-changes span:not(.f-phone-label) { font-size: 14px; color: var(--f-body); }
.f-bubble-q {
  align-self: flex-end;
  background: var(--f-pine);
  color: #FFFFFF;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  max-width: 220px;
}
.f-bubble-a {
  background: #F3EFE8;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  color: var(--f-body);
}
.f-slot { display: grid; }
.f-slot > * { grid-area: 1 / 1; }
.f-typing {
  align-self: start;
  justify-self: start;
  background: #F3EFE8;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  display: none;
  gap: 5px;
}
.f-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--f-muted);
  animation: f-dot 1s ease-in-out infinite;
}
.f-typing i:nth-child(2) { animation-delay: 0.15s; }
.f-typing i:nth-child(3) { animation-delay: 0.3s; }
html.js .f-typing { display: inline-flex; }
.f-phone-note {
  border-top: 1px solid #EEE7DE;
  padding-top: 12px;
  font-size: 13px;
  color: var(--f-muted);
}

/* Phone message sequence (only when JS is on) */
html.js .f-seq { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.5s var(--f-ease), transform 0.5s var(--f-ease); }
html.js .f-seq.show { opacity: 1; transform: none; }

/* ---------- Bands ---------- */
.f-band { background: var(--f-band); position: relative; }
.f-band-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 88px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.f-w760 { max-width: 760px; }
.f-w820 { max-width: 820px; gap: 14px; }
.f-band-inner > p { font-size: 19px; color: var(--f-text-2); }
.f-quote-mark {
  font-family: var(--f-serif);
  font-size: 120px;
  line-height: 0.6;
  height: 52px;
  color: var(--f-pine);
  opacity: 0.2;
  user-select: none;
}
.f-chats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.f-chat {
  position: absolute;
  height: 34px;
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
  opacity: 0.55;
  animation: f-chat-float 9s ease-in-out infinite;
}
.f-chat::after { content: ""; position: absolute; left: 12px; top: 12px; height: 4px; width: 55%; border-radius: 4px; background: var(--f-border); box-shadow: 0 9px 0 -0.5px var(--f-border); }
.f-chat.me { border-radius: 14px 14px 4px 14px; background: var(--f-pill); }
.f-c1 { width: 150px; right: 6%; top: 12%; }
.f-c2 { width: 110px; right: 2%; top: 30%; animation-delay: -2s; }
.f-c3 { width: 170px; right: 9%; top: 52%; animation-delay: -4s; }
.f-c4 { width: 120px; right: 4%; top: 72%; animation-delay: -6s; }
.f-c5 { width: 140px; left: 3%; top: 20%; animation-delay: -3s; }
.f-c6 { width: 100px; left: 1%; top: 64%; animation-delay: -5s; }

.f-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ---------- How it works ---------- */
.f-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}
.f-grid::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 56px;
  border-top: 2px dashed var(--f-border);
  z-index: 0;
}
.f-card {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid var(--f-border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(58, 46, 39, 0.04);
  transition: transform 0.35s var(--f-ease), box-shadow 0.35s var(--f-ease), border-color 0.35s;
}
.f-card:hover { transform: translateY(-6px); box-shadow: var(--f-shadow-lift); border-color: #CFE0D6; }
.f-card h3 { font-size: 20px; }
.f-card p { color: var(--f-text-2); }
.f-step-row { display: flex; align-items: center; justify-content: space-between; }
.f-step {
  font-family: var(--f-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--f-terracotta);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--f-terracotta-light);
  display: grid;
  place-items: center;
}
.f-icon { width: 44px; height: 44px; color: var(--f-pine); }
.f-icon svg { width: 100%; height: 100%; }

/* ---------- Who it's for ---------- */
.f-who { background: var(--f-pine); color: #FFFFFF; position: relative; overflow: hidden; }
.f-who-ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.f-who-ring-1 { width: 520px; height: 520px; left: -200px; top: -240px; animation: f-spin 80s linear infinite; border-style: dashed; }
.f-who-ring-2 { width: 360px; height: 360px; right: -120px; bottom: -180px; }
.f-who-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px;
  align-items: start;
}
.families .f-who h2 { color: #FFFFFF; }
.f-who ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.f-who li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 16px 18px;
}
.f-tick {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--f-pine);
  display: grid;
  place-items: center;
}
.f-tick svg { width: 14px; height: 14px; }

/* ---------- Pricing ---------- */
.f-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  max-width: 820px;
}
.f-price { padding: 32px; }
.f-price-featured {
  border: 2px solid var(--f-pine);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F8F5 100%);
  overflow: hidden;
}
.f-price-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-18deg);
  animation: f-shine 6s ease-in-out infinite;
  pointer-events: none;
}
.f-amount { font-family: var(--f-serif); font-size: 48px; line-height: 1.1; color: var(--f-heading); }
.f-price-featured .f-amount { color: var(--f-pine); }
.f-amount > span:not(.f-num) { font-family: var(--f-sans); font-size: 16px; color: var(--f-text-3); }

/* ---------- FAQ ---------- */
.f-faq {
  background: #FFFFFF;
  border: 1px solid var(--f-border);
  border-radius: 16px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.f-faq[open] { box-shadow: var(--f-shadow); border-color: #CFE0D6; }
.f-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  min-height: 56px;
  border-radius: 16px;
}
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary h3 { font-size: 18px; }
.f-faq-icon {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--f-pill);
}
.f-faq-icon::before, .f-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--f-pine-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--f-ease);
}
.f-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.f-faq[open] .f-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.f-faq p { padding: 0 20px 20px; color: var(--f-text-2); animation: f-open 0.4s var(--f-ease); }

/* ---------- Waitlist ---------- */
.f-waitlist-wrap { position: relative; overflow: hidden; }
.f-blob-3 { width: 480px; height: 480px; background: rgba(45, 106, 79, 0.12); right: -180px; top: 40px; }
.f-waitlist {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.f-waitlist > p { color: var(--f-text-2); }
.f-form-card {
  background: #FFFFFF;
  border: 1px solid var(--f-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--f-shadow);
}
.f-form { display: flex; flex-direction: column; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field label, .f-legend { font-weight: 600; font-size: 15px; }
.f-legend { margin-bottom: 6px; padding: 0; }
.f-input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--f-input-border);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--f-body);
  min-height: 44px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.f-input:focus { outline: none; border-color: var(--f-pine); box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.18); }
textarea.f-input { resize: vertical; }
.f-input[aria-invalid="true"] { border-color: var(--f-error); }
.f-radios { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.f-radios label, .f-consent {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-weight: 400;
  font-size: inherit;
}
.f-radios input, .f-consent input { width: 20px; height: 20px; flex: none; accent-color: var(--f-pine); }
.f-consent { align-items: flex-start; padding: 10px 0; font-size: 15px; }
.f-error { color: var(--f-error); font-size: 14px; font-weight: 500; }
.f-error:empty { display: none; }
.f-form-error { color: var(--f-error); font-weight: 500; }
.f-form-error:empty { display: none; }
.f-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-success { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.f-success p { font-size: 19px; color: var(--f-text-2); }
.f-check { width: 64px; height: 64px; }
.f-check circle { fill: var(--f-pill); }
.f-check path {
  fill: none;
  stroke: var(--f-pine);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: f-draw 0.7s 0.2s var(--f-ease) forwards;
}

/* ---------- Footer ---------- */
.f-footer { border-top: 1px solid var(--f-border); }
.f-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--f-text-3);
}
.f-footer-inner a { display: inline-block; padding: 12px 4px; }

/* ---------- Scroll reveal (JS only) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--f-ease), transform 0.8s var(--f-ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-left { transform: translateX(-28px); }
html.js .reveal-right { transform: translateX(28px); }
html.js .reveal.in.reveal-left, html.js .reveal.in.reveal-right { transform: none; }
/* After the reveal finishes, cards go back to their normal hover transitions */
html.js .f-card.reveal.done { transition: transform 0.35s var(--f-ease), box-shadow 0.35s var(--f-ease), border-color 0.35s; transition-delay: 0s; }

/* ---------- Keyframes ---------- */
@keyframes f-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes f-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes f-spin { to { transform: rotate(360deg); } }
@keyframes f-ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes f-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes f-shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
@keyframes f-chat-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes f-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes f-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 520px) {
  .f-header { flex-wrap: nowrap; padding: 10px 16px; gap: 10px; }
  .f-wordmark { gap: 6px; }
  .f-wordmark-name { font-size: 24px; }
  .f-wordmark-sub { font-size: 10px; padding: 4px 9px 4px 7px; gap: 5px; letter-spacing: 0.08em; }
  .f-wordmark-sub svg { width: 11px; height: 11px; }
  .families a.f-header-link { padding: 0 14px; font-size: 14px; white-space: nowrap; }
}

@media (max-width: 440px) {
  .f-header { padding: 10px 14px; gap: 8px; }
  .f-wordmark-name { font-size: 22px; }
  .f-wordmark-sub { font-size: 9.5px; padding: 4px 8px; letter-spacing: 0.06em; }
  .f-wordmark-sub svg { display: none; }
  .families a.f-header-link { padding: 0 12px; font-size: 13px; }
}

@media (max-width: 350px) {
  .f-header { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .f-grid::before { display: none; }
  .f-chats { opacity: 0.5; }
  .f-header { padding: 12px 20px; }
  .f-form-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal, html.js .f-seq { opacity: 1 !important; transform: none !important; }
  html.js .f-hl { background-size: 100% 0.42em; }
  .f-check path { stroke-dashoffset: 0; }
  .f-typing { display: none !important; }
}
