/* dentures.si — Plain-English US Consumer Denture Care & Savings Guide */
:root {
  --ivory: #faf9f6;
  --cream: #f2f6f5;
  --paper: #ffffff;
  --ink: #162024;
  --muted: #4b5d63;
  --line: #dbe5e3;
  --teal: #0f6f66;
  --teal-deep: #0a524c;
  --teal-soft: #e2f3ef;
  --slate: #155e75;
  --slate-soft: #e3f2f7;
  --amber: #b45309;
  --amber-soft: #fef3e6;
  --cobalt: #1e40af;
  --cobalt-soft: #edf2fc;
  --olive: #3f6212;
  --olive-soft: #f5f7eb;
  --crimson: #991b1b;
  --crimson-soft: #fdf2f2;
  --card-accent: var(--teal);
  --shadow: 0 12px 30px rgba(22, 32, 36, 0.07);
  --radius: 22px;
  --nav-h: 4.25rem;
  --font-serif: Fraunces, Georgia, "Times New Roman", serif;
  --font-sans: Outfit, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at -10% -10%, rgba(15, 111, 102, 0.09), transparent 58%),
    radial-gradient(820px 420px at 110% 0%, rgba(21, 94, 117, 0.09), transparent 55%),
    var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  font-size: 1rem;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 80;
  background: var(--paper); padding: .5rem 1rem; color: var(--ink);
  border: 2px solid var(--teal); border-radius: 8px;
}

.palette-bar { display: flex; height: 6px; width: 100%; }
.palette-bar i { flex: 1; display: block; }
.palette-bar i:nth-child(1) { background: var(--teal); }
.palette-bar i:nth-child(2) { background: var(--slate); }
.palette-bar i:nth-child(3) { background: var(--amber); }
.palette-bar i:nth-child(4) { background: var(--cobalt); }
.palette-bar i:nth-child(5) { background: var(--olive); }

/* Nav */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1160px;
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--teal); }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 1px); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}
.nav.is-open .nav-links { display: flex; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.nav-cta { display: none; }
@media (min-width: 920px) {
  .menu-toggle { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    gap: 1.25rem;
    align-items: center;
  }
  .nav-cta { display: inline-flex; }
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.15rem; }
.section { padding: 2.8rem 0; }
@media (min-width: 900px) { .section { padding: 3.6rem 0; } }
.band-soft { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.45rem;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 44rem; margin: 0 0 1.4rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-amazon { background: #1e293b; color: #fff; width: 100%; margin-top: auto; }
.btn-amazon:hover { background: #0f172a; color: #fff; }
.btn-partner { background: var(--slate); color: #fff; width: 100%; margin-top: auto; }
.btn-partner:hover { background: #0e4658; color: #fff; }

/* Medical notice */
.medical-note {
  background: var(--slate-soft);
  border: 1px solid #c4dfe9;
  border-left: 5px solid var(--slate);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 1.2rem 0 0;
  max-width: 48rem;
}
.medical-note strong { color: var(--slate); }

/* Hero */
.hero { padding: 2.4rem 0 2.6rem; }
@media (min-width: 900px) { .hero { padding: 3.4rem 0 3.2rem; } }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-panel { padding: 1.15rem 1.3rem 1.3rem; background: var(--paper); }
.hero-panel h2 { font-size: 1.18rem; margin-bottom: 0.55rem; }
.hero-panel ul { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.94rem; }
.hero-panel li { margin: 0.35rem 0; }

/* Trust strip */
.trust { display: grid; gap: 1rem; }
@media (min-width: 780px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
}
.trust h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.trust p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Category tiles */
.grid { display: grid; gap: 1.2rem; }
.grid-cats { grid-template-columns: 1fr; }
@media (min-width: 660px) { .grid-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-cats { grid-template-columns: repeat(3, 1fr); } }

.tile {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 0.95rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--teal); color: inherit; }
.tile-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
  background: var(--cream);
}
.tile-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile h3 { margin: 0 0 0.4rem; }
.tile p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.94rem; }
.eyebrow-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-top: auto;
}

/* Product cards */
.grid-picks { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-picks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid-picks { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-accent);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.card.is-hidden { display: none; }
.card[data-cat="cleaning"] { --card-accent: var(--teal); }
.card[data-cat="adhesive"] { --card-accent: var(--slate); }
.card[data-cat="repair"] { --card-accent: var(--amber); }
.card[data-cat="oral"] { --card-accent: var(--cobalt); }
.card[data-cat="nutrition"] { --card-accent: var(--olive); }
.card[data-cat="partner"] { --card-accent: var(--amber); }

.card-row { display: grid; grid-template-columns: 92px 1fr; gap: 0.9rem; align-items: start; }
.card-media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}
.card-media img { width: 92px; height: 92px; object-fit: cover; }
.card-body h3 { font-size: 1.08rem; margin: 0 0 0.35rem; }
.card-body p { margin: 0; font-size: 0.91rem; color: var(--muted); }
.card-meta { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; margin: 1.25rem 0 1.6rem; }
.filter-bar input[type="search"] {
  flex: 1 1 240px;
  max-width: 360px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}

/* Guide layout */
.page-hero { padding: 2.2rem 0 1rem; }
.crumbs { margin: 0 0 0.85rem; font-size: 0.86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.guide-article { max-width: 46rem; }
.guide-article h2 { margin: 2.1rem 0 0.7rem; font-size: 1.5rem; }
.guide-article h3 { margin: 1.35rem 0 0.45rem; font-size: 1.15rem; }
.guide-article p, .guide-article li { font-size: 1.02rem; line-height: 1.72; color: var(--ink); }
.guide-article ul, .guide-article ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
.guide-article li { margin: 0.38rem 0; }

.guide-figure {
  margin: 1.4rem 0 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.guide-figure img { width: 100%; max-height: 22rem; object-fit: cover; }
.guide-figure figcaption { padding: 0.7rem 1rem 0.85rem; font-size: 0.86rem; color: var(--muted); }

.guide-callout { display: grid; gap: 1rem; margin: 1.4rem 0 1.8rem; }
@media (min-width: 700px) { .guide-callout { grid-template-columns: 1fr 1fr; } }
.guide-product {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.guide-product h3 { margin: 0; font-size: 1.08rem; }
.guide-product p { margin: 0; font-size: 0.93rem; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; text-align: left; }
.guide-table th, .guide-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table th { background: var(--cream); font-weight: 700; color: var(--ink); }
.guide-table tr:last-child td { border-bottom: 0; }

.sources-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin: 1.8rem 0;
  font-size: 0.92rem;
}
.sources-box h2 { font-size: 1.12rem; margin: 0 0 0.5rem; }
.sources-box ul { margin: 0; padding-left: 1.15rem; }

.lead-magnet {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--teal-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 0 0 2rem;
}
@media (min-width: 800px) { .lead-magnet { grid-template-columns: 1.3fr 0.7fr; } }

/* FAQ */
.faq { margin: 2.2rem 0 0; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.75rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.96rem; }

/* Disclaimer / info blocks */
.disclaimer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0 0 1.15rem;
  max-width: 48rem;
}
.disclaimer strong { color: var(--ink); }
.disclaimer p { margin: 0 0 0.65rem; }
.disclaimer p:last-child { margin-bottom: 0; }

/* Footer */
footer.site {
  background: #132226;
  color: #dbe6e8;
  padding: 3rem 0 2.4rem;
  margin-top: 2rem;
}
footer.site a { color: #9ee7de; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
footer.site .wordmark { color: #ffffff; }
footer.site .wordmark span { color: #5eead4; }
footer.site h3 { color: #ffffff; font-size: 1rem; margin-bottom: 0.65rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0.4rem 0; font-size: 0.91rem; }
.fineprint {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.2rem;
  padding-top: 1.35rem;
  font-size: 0.85rem;
  color: #b7cbcf;
}
.fineprint p { margin: 0.55rem 0; }
.footer-disclosure {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #eef6f7;
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
