/* FAMHLTH — famhlth.com
   Design tokens carried over verbatim from the original build so the
   rebuilt static site is visually identical to what shipped on Lovable.
   Palette is fully desaturated (hue 0, saturation 0%) by design. */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --card: 0 0% 100%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 0 0% 96%;
  --primary: 0 0% 0%;
  --primary-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --ring: 0 0% 0%;

  --gradient-primary: linear-gradient(135deg, hsl(0 0% 0%) 0%, hsl(0 0% 20%) 100%);
  --shadow-glow: 0 8px 40px -8px hsl(0 0% 0% / 0.15);

  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  /* The original never exposed a dark theme, so pin the scheme to stop
     browsers auto-inverting a deliberately monochrome page. */
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid hsl(var(--border));
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-feature-settings: "rlig" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader-only, used for the skip link and the logo's accessible name. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 50;
  padding: 0.625rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--prose {
  max-width: 56rem;
}

/* ---------- Entrance animation ---------- */
/* Mirrors the original framer-motion fade-up: 30px rise, staggered delays.
   `both` holds the pre-animation state during the delay, and the reduced-motion
   override below falls back to the element's natural (visible) state. */

.rise {
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Stagger, matching the original's delays. Kept in CSS rather than inline
   style attributes so the site can ship a CSP without 'unsafe-inline'. */
.hero__logo {
  animation-delay: 0.1s;
}
.hero__title {
  animation-delay: 0.2s;
}
.hero__subtitle {
  animation-delay: 0.3s;
}
.hero__cta-wrap {
  animation-delay: 0.4s;
}
.trust {
  animation-delay: 0.45s;
}
.feature:nth-child(1) {
  animation-delay: 0.6s;
}
.feature:nth-child(2) {
  animation-delay: 0.7s;
}
.feature:nth-child(3) {
  animation-delay: 0.8s;
}
.feature:nth-child(4) {
  animation-delay: 0.9s;
}
.quote {
  animation-delay: 1s;
}
.page__title {
  animation-delay: 0.05s;
}
.page__lede {
  animation-delay: 0.08s;
}
.policy {
  animation-delay: 0.1s;
}
.support__body {
  animation-delay: 0.12s;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: hsl(var(--background));
}

.hero__inner {
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__logo {
  width: 8rem;
  margin-bottom: 2rem;
}

.hero__title {
  max-width: 56rem;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.hero__cta {
  display: inline-block;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hero__cta img {
  height: 3.5rem;
  width: auto; /* let the badge's own 2.99:1 ratio win over the width attribute */
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  margin-bottom: 5rem;
  padding: 0;
  list-style: none;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- Feature grid ---------- */

.features {
  width: 100%;
  max-width: 64rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  text-align: left;
}

.feature__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-xl);
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature__title {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature__body {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ---------- Founder quote ---------- */

.quote {
  max-width: 48rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}

.quote blockquote {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.625;
}

.quote figcaption {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-style: normal;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 3rem;
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__logo img {
  height: 2rem;
  width: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer__nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: hsl(var(--foreground));
}

.footer__nav svg {
  width: 1rem;
  height: 1rem;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer__store {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__store svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Interior pages (privacy / support) ---------- */

.page {
  min-height: 100vh;
  background-color: hsl(var(--background));
}

.page__inner {
  padding-block: 3rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.back:hover {
  color: hsl(var(--foreground));
}

.back svg {
  width: 1rem;
  height: 1rem;
}

.page__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Padding stops the clipped gradient from shaving descenders. */
  padding-bottom: 0.15em;
}

.page__title--privacy {
  margin-bottom: 2rem;
}

.page__title--support {
  margin-bottom: 1rem;
}

.page__lede {
  margin-bottom: 3rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.updated {
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
}

.policy > section {
  margin-bottom: 1.5rem;
}

.policy h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.policy p {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.policy p + p {
  margin-top: 1rem;
}

.policy a {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.policy a:hover {
  text-decoration: underline;
}

/* ---------- Support / FAQ ---------- */

.support__section + .support__section {
  margin-top: 2rem;
}

.support__heading {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background-color: hsl(var(--muted) / 0.5);
}

.faq__q {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.faq__a {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.faq__a a {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.faq__a a:hover {
  text-decoration: underline;
}

.help {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  background-color: hsl(var(--accent) / 0.5);
  text-align: center;
}

.help svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
}

.help h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.help p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-weight: 500;
  box-shadow: var(--shadow-glow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px hsl(0 0% 0% / 0.28);
}

.button svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: hsl(var(--muted));
  text-align: center;
}

.notfound h1 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.notfound p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.25rem;
}

.notfound a {
  font-weight: 500;
  text-decoration: underline;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero__logo {
    width: 10rem;
  }
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__subtitle,
  .quote blockquote {
    font-size: 1.25rem;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__top {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero__logo {
    width: 12rem;
  }
  .hero__title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   Guides — long-form caregiver content.
   These pages are search entry points, so unlike /privacy and /support they
   carry a real header and the full footer for orientation and internal links.
   ========================================================================== */

.container--article {
  max-width: 44rem; /* ~70 characters at the base size */
}

/* ---------- slim header ---------- */

.gnav {
  border-bottom: 1px solid hsl(var(--border));
}

.gnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
}

.gnav__logo img {
  height: 1.5rem;
  width: auto;
}

.gnav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.gnav__links a {
  transition: color 0.2s ease;
}

.gnav__links a:hover {
  color: hsl(var(--foreground));
}

.gnav__links a[aria-current="page"] {
  color: hsl(var(--foreground));
  font-weight: 500;
}

/* ---------- article ---------- */

.guide {
  padding-block: 3rem 4rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.guide h1 {
  margin-top: 0.75rem;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.guide .lede {
  margin-top: 1rem;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.byline {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* Prose flow: one rhythm, set here rather than per element, because the
   global reset zeroes every margin. */
.prose {
  margin-top: 2rem;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 2.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-top: 1.9rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.prose p,
.prose li {
  line-height: 1.7;
}

.prose p {
  color: hsl(var(--foreground));
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prose a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose strong {
  font-weight: 600;
}

/* ---------- checklists ---------- */

.checklist {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist--tight {
  gap: 0.55rem;
}

.checklist li {
  line-height: 1.55;
}

.checklist label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
}

.checklist input[type="checkbox"] {
  margin: 0.28rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: hsl(var(--primary));
  flex: none;
}

.checklist .hint {
  display: block;
  margin-top: 0.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}

.checklist__title {
  margin-top: 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

/* ---------- callout ---------- */

.callout {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-left: 3px solid hsl(var(--primary));
  background-color: hsl(var(--muted) / 0.6);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.callout > * + * {
  margin-top: 0.6rem;
}

.callout p {
  line-height: 1.65;
}

.callout__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- fill-in table ---------- */

.table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.fill-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.fill-table th,
.fill-table td {
  border: 1px solid hsl(var(--border));
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.fill-table th {
  background-color: hsl(var(--muted) / 0.6);
  font-weight: 600;
  white-space: nowrap;
}

.fill-table td {
  height: 2.6rem;
  color: hsl(var(--muted-foreground));
}

/* ---------- print affordance ---------- */

.printnote {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px dashed hsl(var(--border));
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.printnote kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background-color: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
}

.print-only {
  display: none;
}

/* ---------- app tie-in ---------- */

.app-cta {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: var(--radius-2xl);
  background-color: hsl(var(--accent) / 0.6);
  border: 1px solid hsl(var(--border));
}

.app-cta h2 {
  font-size: 1.1875rem;
  font-weight: 600;
}

.app-cta p {
  margin-top: 0.6rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.app-cta__badge {
  display: inline-block;
  margin-top: 1.1rem;
}

.app-cta__badge img {
  height: 2.75rem;
  width: auto;
}

/* ---------- guide index + related ---------- */

.guide-list {
  margin-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.guide-list__item {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.guide-list__item:hover .guide-list__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-list__title {
  display: block;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.guide-list__desc {
  display: block;
  margin-top: 0.4rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.guide-list__meta {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

.related h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.related ul {
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.related a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* ---------- guide breakpoints ---------- */

@media (min-width: 768px) {
  .guide h1 {
    font-size: 2.5rem;
  }
  .prose h2 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Print — these checklists exist to be carried into an appointment on paper.
   ========================================================================== */

@media print {
  .gnav,
  .footer,
  .app-cta,
  .related,
  .skip-link,
  .printnote,
  .byline {
    display: none !important;
  }

  .print-only {
    display: block;
    margin-top: 0.6rem;
    font-size: 9pt;
    color: #444;
  }

  :root {
    --foreground: 0 0% 0%;
    --muted-foreground: 0 0% 30%;
    --border: 0 0% 75%;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .container,
  .container--article {
    max-width: none;
    padding-inline: 0;
  }

  .guide {
    padding-block: 0;
  }

  .rise {
    animation: none;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  .guide h1 {
    font-size: 20pt;
  }

  .prose h2 {
    font-size: 13pt;
    margin-top: 18pt;
    break-after: avoid;
  }

  .prose h3,
  .checklist__title {
    break-after: avoid;
  }

  /* Keep a checklist item and its hint on one page. */
  .checklist li,
  .fill-table tr,
  .callout {
    break-inside: avoid;
  }

  .checklist {
    border-color: #999;
    padding: 10pt;
  }

  .checklist input[type="checkbox"] {
    /* Native controls print inconsistently; draw the box ourselves. */
    appearance: none;
    -webkit-appearance: none;
    width: 11pt;
    height: 11pt;
    border: 1pt solid #000 !important;
    border-radius: 1pt;
  }

  .fill-table {
    min-width: 0;
  }

  .fill-table td {
    height: 26pt;
  }

  .table-wrap {
    overflow-x: visible;
  }

  @page {
    margin: 15mm;
  }
}

/* ---------- guides teaser on the home page ---------- */

.home-guides {
  width: 100%;
  max-width: 64rem;
  margin-bottom: 2rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
  text-align: left;
  animation-delay: 0.95s;
}

.home-guides__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.home-guides__head h2 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.home-guides__all {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.home-guides__all:hover {
  color: hsl(var(--foreground));
}

.home-guides__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hg {
  display: block;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.hg__t {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.hg:hover .hg__t {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hg__d {
  display: block;
  margin-top: 0.3rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .home-guides__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
