/* Smart Baby Tracker — marketing site (matches app theme) */
:root {
  --bg: #fffbfc;
  --surface-pink: #fff0f3;
  --pink: #f5a3b5;
  --pink-soft: #fadadd;
  --pink-deep: #e891a4;
  --teal: #48c9b0;
  --teal-dark: #3aa890;
  --text: #3a3340;
  --text-secondary: #9a90a0;
  --white: #ffffff;
  --feeding: #e8a090;
  --sleep: #48c9b0;
  --nappy: #8fa8d4;
  --growth: #8fbc8f;
  --journal: #c9a0c0;
  --health: #d4a574;
  --mint-wash: #f2faf8;
  --radius-lg: 1.75rem;
  --radius-md: 1.15rem;
  --shadow-soft: 0 18px 48px rgba(232, 145, 164, 0.14);
  --font: "Nunito", system-ui, sans-serif;
  --max: 58rem;
  --content: 46rem;
  --measure: 28rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    var(--surface-pink) 0%,
    var(--bg) 42%,
    var(--mint-wash) 100%
  );
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: blob-drift 14s ease-in-out infinite;
}

.blob-a {
  width: 22rem;
  height: 22rem;
  top: -4rem;
  right: -5rem;
  background: rgba(250, 218, 221, 0.55);
}

.blob-b {
  width: 18rem;
  height: 18rem;
  top: 10rem;
  left: -6rem;
  background: rgba(72, 201, 176, 0.12);
  animation-delay: -4s;
}

.blob-c {
  width: 16rem;
  height: 16rem;
  bottom: 8rem;
  right: -3rem;
  background: rgba(245, 163, 181, 0.14);
  animation-delay: -7s;
}

@keyframes blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.04);
  }
}

.site {
  position: relative;
  z-index: 1;
}

/* —— Nav —— */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.35rem 0.4rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--pink-deep);
}

.nav-admin {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep) !important;
}

.nav-admin:hover {
  background: var(--pink-deep);
  color: var(--white) !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--pink-deep);
  color: var(--white) !important;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(232, 145, 164, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(232, 145, 164, 0.34);
}

/* —— Hero —— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.35rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.75rem;
  align-items: start;
}

.hero-copy {
  max-width: 34rem;
}

.hero-logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  margin-bottom: 1.35rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-name {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 4.6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero-line {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--pink-deep);
  line-height: 1.25;
  animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-support {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 28rem;
  animation: hero-rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: hero-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 1.15rem;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.32);
}

.btn-primary:hover {
  background: #e07f96;
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  border: 1.5px solid rgba(72, 201, 176, 0.28);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.quote-strip {
  min-height: 4.5rem;
  animation: hero-rise 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-copy .quote-strip {
  max-width: 26rem;
}

.quote-face {
  display: inline-flex;
  color: rgba(232, 145, 164, 0.75);
  margin-bottom: 0.35rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-face.tilt-a {
  transform: rotate(-12deg);
}

.quote-face.tilt-b {
  transform: rotate(11deg);
}

.quote-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  color: #6e6575;
  max-width: 26rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.quote-text.is-out {
  opacity: 0;
  transform: translateY(8px);
}

.quote-attr {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink-deep);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Device frames (real screenshots) */
.hero-visual {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.device {
  margin: 0;
  width: min(100%, 17.5rem);
}

.hero-visual .device {
  width: min(100%, 18.5rem);
  animation: phone-float 5.5s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.device-frame {
  background: #1f1a1c;
  border-radius: 1.85rem;
  padding: 0.45rem;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(58, 51, 64, 0.1);
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.45rem;
  background: var(--surface-pink);
}

.device figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* —— Community stats —— */
.community {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem 1rem;
}

.community-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(232, 145, 164, 0.22);
  text-align: center;
}

.community-copy {
  max-width: var(--measure);
  margin: 0 auto 1.75rem;
}

.stat-row {
  margin: 0 auto;
  max-width: var(--content);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  text-align: center;
}

.stat {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--pink-soft);
  margin-bottom: 0.85rem;
}

.stat:nth-child(1)::before { background: var(--feeding); }
.stat:nth-child(2)::before { background: var(--nappy); }
.stat:nth-child(3)::before { background: var(--sleep); }
.stat:nth-child(4)::before { background: var(--pink-deep); }

.stat-value {
  display: block;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat dd {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  max-width: 8.5rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.35rem;
}

.section-head {
  max-width: var(--measure);
  margin: 0 auto 1.85rem;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.section-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.section-support {
  margin: 0 auto;
  max-width: var(--measure);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.35rem;
  max-width: var(--content);
  margin: 0 auto;
}

.feature {
  padding: 0.25rem 0.5rem 0.5rem;
  text-align: center;
  border-top: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.feature:hover {
  border-top-color: var(--accent, var(--pink));
}

.feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  line-height: 0;
  background: color-mix(in srgb, var(--accent, var(--pink)) 18%, white);
  color: var(--accent, var(--pink-deep));
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.feature p {
  margin: 0 auto;
  max-width: 14rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.45;
}

.feature[data-accent="feeding"] {
  --accent: var(--feeding);
}
.feature[data-accent="sleep"] {
  --accent: var(--sleep);
}
.feature[data-accent="nappy"] {
  --accent: var(--nappy);
}
.feature[data-accent="growth"] {
  --accent: var(--growth);
}
.feature[data-accent="journal"] {
  --accent: var(--journal);
}
.feature[data-accent="family"] {
  --accent: var(--pink-deep);
}

/* Gallery */
.section-look {
  padding-top: 2.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  justify-items: center;
  max-width: var(--content);
  margin: 0 auto;
}

.gallery .device {
  width: min(100%, 13.5rem);
}

/* Band — matches app account upsell */
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem 1.5rem;
}

.band-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.band-inner .section-support {
  max-width: 24rem;
}

.benefit-list {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  text-align: left;
  max-width: 22.5rem;
}

.benefit-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.benefit-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.05rem;
  /* Avoid flex/font baseline quirks — center the SVG explicitly */
  display: block;
  line-height: 0;
}

.benefit-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  transform: translate(-50%, -50%);
  display: block;
  overflow: visible;
}

.benefit-icon-teal {
  background: rgba(72, 201, 176, 0.12);
  color: var(--teal-dark);
}

.benefit-icon-pink {
  background: var(--surface-pink);
  color: var(--pink-deep);
}

.benefit-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.benefit-list span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* CTA */
.cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.35rem 4rem;
  text-align: center;
}

.cta-inner {
  padding: 2.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(255, 240, 243, 0.95),
    rgba(242, 250, 248, 0.95)
  );
  border: 1px solid rgba(232, 145, 164, 0.2);
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
}

.cta p {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta .community-links {
  margin-top: 1rem;
}

/* Peek invite — obvious mid-page opener for the Shorts modal */
.peek-invite {
  max-width: var(--max);
  margin: -0.5rem auto 0;
  padding: 0 1.35rem 1.5rem;
}

.peek-invite-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid rgba(72, 201, 176, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 240, 243, 0.95), rgba(242, 250, 248, 0.95));
  box-shadow: var(--shadow-soft);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.peek-invite-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 145, 164, 0.45);
  box-shadow: 0 20px 44px rgba(232, 145, 164, 0.18);
}

.peek-invite-play {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(232, 145, 164, 0.35);
}

.peek-invite-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.peek-invite-copy strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.peek-invite-copy span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Peek modal */
.peek-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.peek-modal[hidden] {
  display: none;
}

.peek-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 51, 64, 0.48);
  backdrop-filter: blur(4px);
}

.peek-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22.5rem);
  padding: 1.15rem 1.15rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 64px rgba(58, 51, 64, 0.22);
  animation: peek-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.peek-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.peek-modal-head .section-kicker {
  margin: 0 0 0.2rem;
}

.peek-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.peek-modal-close {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--surface-pink);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.peek-modal-close:hover {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.peek-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #1a1620;
}

.peek-modal-frame iframe {
  position: absolute;
  /* Crop YouTube’s title / control chrome that can’t be fully disabled */
  top: -6%;
  left: -2%;
  width: 104%;
  height: 112%;
  border: 0;
  pointer-events: none;
}

.peek-modal-mask {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.peek-modal-mask-top {
  top: 0;
  height: 3.25rem;
  background: linear-gradient(to bottom, rgba(26, 22, 32, 0.92), rgba(26, 22, 32, 0));
}

.peek-modal-mask-bottom {
  bottom: 0;
  height: 2.75rem;
  background: linear-gradient(to top, rgba(26, 22, 32, 0.88), rgba(26, 22, 32, 0));
}

.peek-modal-foot {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.peek-modal-foot a {
  color: var(--teal-dark);
  text-decoration: none;
}

.peek-modal-foot a:hover {
  color: var(--pink-deep);
}

body.peek-open {
  overflow: hidden;
}

@keyframes peek-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .peek-modal-panel {
    animation: none;
  }

  .peek-invite-btn:hover {
    transform: none;
  }
}

/* Footer */
.footer {
  border-top: 1px solid rgba(232, 145, 164, 0.18);
  padding: 1.75rem 1.35rem 2.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.footer-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pink-deep);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* How it works */
.how-hero {
  padding-bottom: 0.5rem;
}

.how-steps-section {
  padding-top: 0.5rem;
}

.how-steps {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.75rem;
  align-items: center;
}

.how-step-reverse .how-step-copy {
  order: 2;
}

.how-step-reverse .how-step-visual {
  order: 1;
}

.how-step-copy .section-kicker {
  margin: 0 0 0.5rem;
}

.how-step-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.how-step-copy p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 26rem;
}

.how-step-visual {
  display: flex;
  justify-content: center;
}

.how-step-visual .device {
  width: min(100%, 15rem);
}

@media (max-width: 720px) {
  .how-step {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.35rem;
  }

  .how-step-reverse .how-step-copy,
  .how-step-reverse .how-step-visual {
    order: initial;
  }

  .how-step-copy p {
    margin: 0 auto;
  }
}

/* Legal pages shared tweaks when linked from site */
.legal-nav {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
    gap: 2rem;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-support,
  .quote-text {
    max-width: 32rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-copy .quote-strip {
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .quote-text {
    text-align: center;
  }


  .hero-visual { animation: none; }
  .hero-visual .device {
    width: min(100%, 15.5rem);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 1rem;
  }

  .gallery .device {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.1rem;
    max-width: none;
    padding: 0.25rem 0.15rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .gallery .device {
    flex: 0 0 13.5rem;
    scroll-snap-align: center;
  }

  .hero-logo {
    width: 4.5rem;
    height: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Community redaction */
.stat.is-redacted .stat-redacted {
  position: relative;
  display: inline-block;
  isolation: isolate;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  opacity: 0.78;
  animation: redacted-breathe 3.6s ease-in-out infinite;
}

/* Soft sonar-style halo behind the dots; a second delayed ring gives a calm rhythm */
.stat.is-redacted .stat-redacted::before,
.stat.is-redacted .stat-redacted::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.4rem;
  height: 2rem;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(245, 163, 181, 0.42) 0%,
    rgba(72, 201, 176, 0.22) 55%,
    rgba(72, 201, 176, 0) 78%
  );
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: redacted-pulse 3.6s ease-out infinite;
}

.stat.is-redacted .stat-redacted::after {
  animation-delay: 1.2s;
}

@keyframes redacted-breathe {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes redacted-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0;
  }
  14% {
    opacity: 0.5;
  }
  60% {
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

.community-block {
  margin-top: 1.5rem;
}

.community-block:first-of-type {
  margin-top: 0.25rem;
}

.community-subhead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.care-dash {
  max-width: 26rem;
  margin: 0 auto 1.25rem;
  padding: 1.1rem 1.15rem 1.15rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
  display: grid;
  gap: 1.15rem;
}

.care-dash-block h2 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.handoff-compact + .handoff-compact {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 145, 164, 0.22);
}

.handoff-baby {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.handoff-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.handoff-chips li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.handoff-chips span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.handoff-chips strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.week-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.week-strip li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.week-strip strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.care-advice {
  max-width: 26rem;
  margin: 0 auto 0.5rem;
  text-align: left;
}

.care-advice h2 {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  text-align: center;
}

.care-advice ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.care-advice li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(232, 145, 164, 0.07);
}

.care-advice a {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.care-advice a:hover {
  color: var(--pink-deep);
}

.care-advice li span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.care-advice-more {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.account-head {
  margin-bottom: 1rem;
}

.account-meta {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.account-meta-sep {
  margin: 0 0.25rem;
  opacity: 0.6;
}

.account-actions-top {
  margin: 0 auto 1.35rem;
}

.account-empty {
  text-align: center;
  margin: 0 auto 1.5rem;
}

.advice-card-reason {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.community-links {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.community-links a {
  color: var(--teal-dark);
}

.advice-hero .section-head,
.advice-article .section-head,
.account-section .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.advice-hero .section-support,
.account-section .section-support {
  margin-left: auto;
  margin-right: auto;
}

.advice-disclaimer {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
}

.advice-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto 1.35rem;
}

.advice-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border: 1.5px solid rgba(232, 145, 164, 0.2);
}

.advice-filter:hover {
  color: var(--pink-deep);
  text-decoration: none;
}

.advice-filter.is-active {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.advice-card-meta {
  margin: 0 0 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark) !important;
}

.advice-lead {
  margin: 0 auto 0.65rem;
  max-width: 28rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  text-align: center;
}

.advice-meta {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
}

.advice-meta-sep {
  margin: 0 0.3rem;
  opacity: 0.55;
}

.advice-print-btn {
  font: inherit;
  font-weight: 800;
  color: var(--teal-dark);
  cursor: pointer;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.advice-skim {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background: var(--mint-wash);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
}

.advice-skim strong {
  color: var(--teal-dark);
  font-weight: 800;
}

.advice-uk-care {
  margin: 1.5rem 0 0;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--surface-pink);
}

.advice-article .advice-body .advice-uk-care {
  margin: 1.75rem 0 0;
}

.advice-uk-care h2 {
  margin: 0 0 0.55rem !important;
  font-size: 0.95rem !important;
}

.advice-uk-care ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.advice-uk-care li {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-secondary);
}

.advice-uk-care strong {
  color: var(--text);
  font-weight: 800;
}

.advice-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.35rem 0 0;
}

.advice-article .advice-body .advice-article-actions {
  margin: 1.5rem 0 0;
}

.advice-article-actions .btn {
  cursor: pointer;
}

.advice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 28rem;
  margin: 0 auto;
}

.advice-card {
  display: block;
  padding: 1.2rem 1.2rem 1.15rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advice-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(232, 145, 164, 0.14);
}

.advice-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.advice-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
}

.advice-card-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal-dark);
}

.advice-article {
  text-align: center;
}

.advice-article .advice-body {
  max-width: 28rem;
  margin: 1.25rem auto 0;
  padding: 1.35rem 1.25rem 1.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
}

.advice-article .advice-body .advice-disclaimer {
  margin: 0 0 1.1rem;
  text-align: left;
  box-shadow: none;
  background: var(--surface-pink);
}

.advice-article .advice-body h2 {
  margin: 1.35rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.advice-article .advice-body p {
  margin: 0 0 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary);
}

.advice-article .section-kicker a {
  color: var(--teal-dark);
}

/* Account */
.account-section {
  text-align: center;
}

.account-form {
  max-width: 22rem;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  display: grid;
  gap: 0.45rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
}

.account-form label {
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.45rem;
}

.account-form input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1.5px solid var(--pink-soft);
  border-radius: 0;
  padding: 0.7rem 0.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  outline: none;
}

.account-form input:focus {
  border-bottom-color: var(--pink-deep);
}

.account-form .btn {
  margin-top: 0.85rem;
  width: 100%;
}

.form-error {
  max-width: 22rem;
  margin: 0 auto 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #fdecef;
  color: #c45c6a;
  font-weight: 700;
}

.account-note {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.account-families,
.account-community,
.account-stats {
  margin-top: 1.75rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.account-families,
.account-community {
  padding: 1.25rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(232, 145, 164, 0.08);
}

.account-families h2,
.account-community h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.account-community .section-support {
  text-align: center;
  margin-bottom: 1rem;
}

.account-families ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.account-families li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-weight: 700;
}

.account-families li span {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: capitalize;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.admin-section {
  text-align: left;
}

.admin-flash {
  margin: 0 auto 1rem;
  max-width: 42rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(232, 247, 243, 0.95);
  color: #1f4d45;
  font-weight: 700;
  text-align: center;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: start;
}

.admin-list,
.admin-detail {
  min-width: 0;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.admin-filters a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5a4a52;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-filters a[aria-current="page"] {
  background: #ffd6e0;
  color: #5c2a3a;
}

.admin-thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.admin-thread {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(92, 42, 58, 0.05);
}

.admin-thread.is-active {
  outline: 2px solid #f4a6b8;
  background: #fff8fa;
}

.admin-thread strong {
  font-size: 1rem;
}

.admin-thread-meta {
  color: #7a6a72;
  font-size: 0.86rem;
}

.admin-thread-status {
  display: inline-block;
  width: fit-content;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #efe8eb;
  color: #5a4a52;
}

.admin-thread-status.status-open {
  background: #ffe4ea;
  color: #8a3a4e;
}

.admin-thread-status.status-in_progress {
  background: #e8f4ff;
  color: #2f5f86;
}

.admin-thread-status.status-closed {
  background: #e5f6ef;
  color: #1f5a48;
}

.admin-card {
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(92, 42, 58, 0.06);
  margin-bottom: 1rem;
}

.admin-card-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.admin-body {
  margin: 1rem 0 1.25rem;
  line-height: 1.55;
  color: #3d3238;
}

.admin-reply-preview {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f2faf8;
}

.admin-reply-preview h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.admin-reply-form select,
.admin-reply-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(92, 42, 58, 0.12);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.admin-reply-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.admin-promote h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.admin-subnav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5a4a52;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-subnav a[aria-current="page"] {
  background: #ffd6e0;
  color: #5c2a3a;
}

.admin-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #7a6a72;
}

/* Broadcast compose form — deliberately narrower than the card so Subject/Message
   read comfortably, and styled independently of .account-form (too cramped/plain
   for this page: 22rem max-width, unstyled textarea). */
.admin-broadcast-form {
  max-width: 34rem;
}

.admin-broadcast-form label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  margin: 1.1rem 0 0;
}

.admin-broadcast-form label:first-child {
  margin-top: 0;
}

.admin-broadcast-form input[type="text"],
.admin-broadcast-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(92, 42, 58, 0.12);
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: #fff;
}

.admin-broadcast-form input[type="text"]:focus,
.admin-broadcast-form textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
}

.admin-broadcast-form textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.5;
}

.admin-confirm {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff6f2;
  border: 1.5px dashed rgba(232, 145, 164, 0.5);
}

.admin-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 700;
  margin: 0;
}

.admin-confirm-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--pink-deep);
}

.admin-broadcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.admin-broadcast-actions .btn {
  width: auto;
  margin-top: 0;
}

.admin-broadcast-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.admin-fcm-pill {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.admin-fcm-pill.is-ready {
  background: #e5f6ef;
  color: #1f5a48;
}

.admin-fcm-pill.is-off {
  background: #fdecef;
  color: #c45c6a;
}

.admin-broadcast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.admin-broadcast-item {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(92, 42, 58, 0.05);
  border-left: 3px solid transparent;
}

.admin-broadcast-item.has-failures {
  border-left-color: #e0788a;
}

.admin-broadcast-item-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-thread-status.status-test {
  background: #fff1e0;
  color: #8a5a1f;
}

.admin-thread-status.status-broadcast {
  background: #e5f6ef;
  color: #1f5a48;
}

/* Flash/error banners inside admin pages should span the section, not float as a
   narrow centered box (that's the right look on the centered account pages, not here). */
.admin-section .admin-flash,
.admin-section .form-error {
  max-width: none;
  margin: 0 0 1.1rem;
  text-align: left;
}

@media (max-width: 480px) {
  .admin-broadcast-actions {
    flex-direction: column;
  }

  .admin-broadcast-actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .handoff-chips {
    grid-template-columns: 1fr;
  }

  .week-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .advice-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .atmosphere,
  .nav,
  .footer,
  .no-print,
  .advice-print-btn,
  .advice-filters {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site,
  .section,
  .advice-body {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .advice-article {
    text-align: left;
  }

  .advice-lead,
  .advice-meta,
  .section-title,
  .section-kicker {
    text-align: left;
    max-width: none;
  }

  .advice-body {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .advice-disclaimer,
  .advice-uk-care,
  .advice-skim {
    box-shadow: none;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}


