/* Dreier Property Management Northwest — dpmnw.com
   Real-estate-listing flavored design. Single stylesheet, design tokens in :root. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #0369a1;
  --accent-hover: #075985;
  --accent-soft: #e0f2fe;
  --available: #059669;
  --available-soft: #d1fae5;
  --warn: #b45309;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --nav-h: 64px;
  --max: 1200px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-right: auto;
  min-width: 0;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 0;
}
.brand-name { display: inline; }
.brand-name-short { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  background: var(--accent);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .brand-name { display: none; }
  .brand-name-short { display: inline; }
  .brand { font-size: .95rem; gap: .5rem; overflow: hidden; }
  .brand-name-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: .25rem 1.25rem .75rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .15s ease;
    box-shadow: var(--shadow-md);
    z-index: 49;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { padding: .4rem .85rem; font-size: .85rem; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 380px) {
  .brand-name-short { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: .75rem; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-hover); color: white; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--surface); border-color: var(--ink-2); color: var(--ink); text-decoration: none; }
.btn-block { width: 100%; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }

/* ============ Hero (home) ============ */
.hero {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}
.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  max-width: 22ch;
}
.hero-lede {
  font-size: clamp(1.05rem, .98rem + .5vw, 1.2rem);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 1rem 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ============ Section ============ */
.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.section-tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .25rem; }
.section-head p { color: var(--muted); margin: 0; }

/* ============ Listing cards (index/properties index) ============ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.listing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.listing-card a.cover { display: block; }
.listing-card .photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}
.listing-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.listing-card:hover .photo img { transform: scale(1.03); }
.listing-card .body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.listing-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.listing-card .price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.listing-card .stats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  color: var(--ink-2);
  font-size: .92rem;
}
.listing-card .stats span { white-space: nowrap; }
.listing-card .stats strong { font-weight: 600; }
.listing-card .addr {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
}
.listing-card .addr small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: 2px; }
.listing-card .pill-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.listing-card .view {
  margin-top: auto;
  padding-top: .5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
}

/* ============ Pills ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.pill-available { background: var(--available-soft); color: var(--available); }
.pill-rented { background: #fef3c7; color: var(--warn); }
.pill-soft { background: var(--accent-soft); color: var(--accent); }

/* ============ Property detail page ============ */
.prop-hero {
  position: relative;
  height: clamp(320px, 55vh, 560px);
  background: #cbd5e1;
  overflow: hidden;
}
.prop-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to top, rgba(15, 23, 42, .35), transparent);
  pointer-events: none;
}
.prop-hero-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0;
  color: white;
  z-index: 1;
}
.prop-hero-meta .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.prop-hero-meta .addr h1 {
  color: white;
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.prop-hero-meta .addr small {
  display: block;
  margin-top: .25rem;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.gallery-trigger {
  background: rgba(255, 255, 255, .95);
  border: 0;
  border-radius: 8px;
  padding: .55rem .9rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: var(--shadow-sm);
}
.gallery-trigger:hover { background: white; }

.prop-stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
}
.prop-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
}
.prop-stat {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-size: .95rem;
  color: var(--ink-2);
}
.prop-stat strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.prop-stat.price strong {
  font-size: 1.4rem;
  color: var(--ink);
}
.prop-stat-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  display: inline-block;
}

@media (max-width: 720px) {
  .prop-stats { position: static; }
  .prop-stat-divider { display: none; }
}

/* Two-column body */
.prop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.5rem;
  align-items: start;
}
.prop-body .main > section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.prop-body .main > section:last-child { border-bottom: 0; }
.prop-body .main h2 { margin-bottom: .75rem; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.5rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.terms-list li {
  display: flex;
  gap: .75rem;
  padding: .5rem 0;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.terms-list li:last-child { border-bottom: 0; }
.terms-list li strong { color: var(--ink); min-width: 11rem; }

.contact-card {
  position: sticky;
  top: calc(var(--nav-h) + 80px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contact-card h3 { margin: 0 0 .25rem; font-size: 1rem; }
.contact-card .price-line {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-card .price-line small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.contact-card .meta {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .25rem;
}
.contact-card .actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.contact-card a.text-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  color: var(--ink-2);
  font-size: .92rem;
  border-top: 1px solid var(--line);
}
.contact-card a.text-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-card a.text-row:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .prop-body { grid-template-columns: 1fr; }
  .contact-card { position: static; order: -1; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.gallery-grid .g {
  cursor: zoom-in;
  background: var(--line);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-grid .g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, opacity .15s;
}
.gallery-grid .g:hover img { transform: scale(1.04); opacity: .94; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .15);
  color: white;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .close { top: 1.25rem; right: 1.25rem; }
.lightbox .prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox .counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  background: rgba(0, 0, 0, .35);
  padding: .35rem .75rem;
  border-radius: 999px;
}

/* ============ Map row ============ */
.map-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.map-row strong { color: var(--ink); }
.map-row a { margin-left: auto; }

/* ============ Share / QR ============ */
.share-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.share-row .qr {
  width: 96px;
  height: 96px;
  background: white;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.share-row .qr img { width: 100%; height: 100%; }
.share-row .copy { flex: 1; min-width: 220px; }
.share-row .copy h3 { margin: 0 0 .25rem; }
.share-row .copy p { margin: 0; color: var(--muted); font-size: .9rem; }
.share-row .share-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.share-row .copy-link {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: .5rem .9rem;
  font-size: .85rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}
.share-row .copy-link:hover { color: var(--ink); background: var(--bg); text-decoration: none; }
.share-row .copy-link.copied { color: var(--available); border-color: var(--available); }

/* ============ Marketing-page modules ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.feature-tile h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.feature-tile p { margin: 0; color: var(--muted); font-size: .95rem; }

.markets {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.market-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-2);
}

/* ============ Forms / placeholder pages ============ */
.simple-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
}
.simple-page h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.simple-page .lede { color: var(--ink-2); font-size: 1.05rem; }

.action-stack {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 2rem 0;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--ink-2);
  font-size: .95rem;
}
.notice strong { color: var(--ink); }

/* ============ Footer ============ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1e293b;
}
.footer h4 { color: white; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: white; text-decoration: underline; }
.footer p { font-size: .92rem; color: #94a3b8; margin: 0 0 .5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; font-size: .92rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: #64748b;
  gap: 1rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============ Long-form / legal pages ============ */
.long-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
}
.long-page h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.long-page h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.long-page h2:first-of-type { border-top: 0; padding-top: 0; }
.long-page h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.long-page p, .long-page li { color: var(--ink-2); line-height: 1.65; }
.long-page ul, .long-page ol { padding-left: 1.25rem; }
.long-page ul li, .long-page ol li { margin-bottom: .35rem; }
.long-page .updated {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: .25rem .65rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.long-page a { color: var(--accent); }
.long-page a:hover { color: var(--accent-hover); }

.callout {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout-warn {
  border-color: #fde68a;
  background: #fffbeb;
}
.callout-warn strong { color: #92400e; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* ============ Breadcrumbs ============ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .35rem .5rem;
}
.breadcrumbs li + li::before {
  content: "›";
  color: var(--line-strong);
  font-size: 1rem;
  line-height: 1;
}
.breadcrumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.prop-breadcrumbs {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: .65rem 0;
}
.prop-breadcrumbs .breadcrumbs { margin-bottom: 0; }

/* ============ FAQ (native details/summary) ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: .85rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform .15s, color .15s;
}
.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}
.faq summary:hover { color: var(--accent); }
.faq .answer {
  padding: 0 1rem 1rem;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}
.faq .answer p:last-child { margin-bottom: 0; }

/* ============ Utility ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.flex-row { display: flex; gap: .75rem; flex-wrap: wrap; }
