/* site.css — shared styles for essentialsforsafari.app marketing site
   Tokens mirror the app's System A "Translucent" exactly. */

:root {
  --bg: #fafafb;
  --bg-elevated: #ffffff;
  --bg-sunken: #f1f1f4;
  --bg-vibrant: rgba(246, 246, 248, 0.78);
  --text: #1b1b1f;
  --text-secondary: rgba(27, 27, 31, 0.62);
  --text-tertiary: rgba(27, 27, 31, 0.42);
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.18);
  --divider: rgba(0, 0, 0, 0.07);
  --accent: oklch(0.62 0.17 252);
  --accent-hover: oklch(0.56 0.17 252);
  --accent-soft: oklch(0.95 0.04 252);
  --on-accent: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-popup: 0 24px 64px rgba(15, 23, 42, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --hero-grad:
    radial-gradient(1200px 600px at 70% -10%, oklch(0.92 0.07 252) 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 0%, oklch(0.96 0.04 200) 0%, transparent 55%);
  --rad-sm: 6px;
  --rad-md: 10px;
  --rad-lg: 16px;
  --rad-xl: 22px;
  --font-ui:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --bg-elevated: #1c1c1f;
    --bg-sunken: #18181b;
    --bg-vibrant: rgba(40, 40, 44, 0.72);
    --text: #f2f2f4;
    --text-secondary: rgba(242, 242, 244, 0.65);
    --text-tertiary: rgba(242, 242, 244, 0.42);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    --divider: rgba(255, 255, 255, 0.07);
    --accent: oklch(0.7 0.16 252);
    --accent-hover: oklch(0.76 0.16 252);
    --accent-soft: oklch(0.3 0.1 252);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-popup: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.08) inset;
    --hero-grad:
      radial-gradient(1200px 600px at 70% -10%, oklch(0.32 0.1 252) 0%, transparent 60%),
      radial-gradient(900px 500px at 10% 0%, oklch(0.28 0.06 200) 0%, transparent 55%);
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  background: var(--bg-vibrant);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a.active {
  color: var(--text);
}
.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition:
    background 0.12s,
    transform 0.12s,
    box-shadow 0.12s;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 0.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-sunken);
  border-color: var(--border-strong);
}
.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 10px;
}

/* Hero */
.hero {
  position: relative;
  padding: 76px 0 24px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-grad);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
h1.hero-title {
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 18px 0 14px;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--accent), oklch(0.55 0.2 280));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.5;
  text-wrap: pretty;
  margin: 0 0 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero figure (popup mock) */
.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}
.browser-frame {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 0.5px solid var(--border);
  box-shadow: var(--shadow-popup);
  overflow: hidden;
}
.browser-chrome {
  height: 38px;
  background: var(--bg-sunken);
  border-bottom: 0.5px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}
.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.tl.r {
  background: #ff5f57;
}
.tl.y {
  background: #febc2e;
}
.tl.g {
  background: #28c840;
}
.url-pill {
  margin-left: 14px;
  flex: 1;
  max-width: 380px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.toolbar-icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.toolbar-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.toolbar-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.browser-body {
  height: calc(100% - 38px);
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  position: relative;
}

/* Floating popup */
.popup {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 312px;
  background: var(--bg-vibrant);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-popup);
  overflow: hidden;
  font-family: var(--font-ui);
}
.popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 4px;
}
.popup-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.popup-tagline {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
}
.popup-spacer {
  flex: 1;
}
.popup-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1;
}

.popup-strip {
  display: flex;
  align-items: center;
  column-gap: 8px;
  row-gap: 6px;
  flex-wrap: wrap;
  padding: 8px 14px 6px;
  border-bottom: 0.5px solid var(--divider);
}
.popup-strip .space-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.05em;
  opacity: 0.55;
  transition:
    opacity 0.18s ease,
    box-shadow 0.18s ease;
  position: relative;
}
.popup-strip .space-dot.active {
  opacity: 1;
  box-shadow:
    0 0 0 2px var(--bg-vibrant),
    0 0 0 3px var(--accent);
}
.popup-grid {
  padding: 10px 14px 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.cell {
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--bg-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.25s;
}
.cell .ico {
  width: 70%;
  height: 70%;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.5px;
}
.cell.empty {
  background: transparent;
  border: 1.5px dashed var(--border-strong);
}
.cell.empty .ico {
  display: none;
}
.cell.active::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  box-shadow:
    0 0 0 2px var(--bg-elevated),
    0 0 0 3.5px var(--accent);
  pointer-events: none;
}
.cell.dragging .ico {
  visibility: hidden;
}
.cell.dragging {
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.cell.spawning {
  animation: spawn 0.42s cubic-bezier(0.32, 0.72, 0, 1) both;
}
@keyframes spawn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.popup-pager {
  padding: 8px 0 12px;
  display: flex;
  gap: 5px;
  justify-content: center;
}
.pager-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}
.pager-dot.on {
  background: var(--text-secondary);
  width: 14px;
  border-radius: 3px;
}

/* Cursor + drag ghost */
.drag-ghost {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  opacity: 0;
}
.cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

/* Sections */
section {
  padding: 80px 0;
}
section.tight {
  padding: 56px 0;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.5;
  margin: 0 0 48px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  padding: 24px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-sm);
}
.feature .ico-tile {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  border-radius: var(--rad-lg);
}
.step .num {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.step h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* Spaces showcase */
.spaces-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.space-card {
  flex: 0 0 200px;
  padding: 18px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-sm);
}
.space-dot {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 12px;
}
.space-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}
.space-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* Sync — split layout */
.sync {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .sync {
    grid-template-columns: 1fr;
  }
}
.sync-illust {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  border-radius: var(--rad-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Pricing */
.price-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 40px 36px 36px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border);
  border-radius: var(--rad-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.price-amount {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.price-amount .cur {
  font-size: 26px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.price-amount .num {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 5px 11px;
  background: var(--bg-sunken);
  border-radius: 999px;
}
.price-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}
.price-card li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Footer */
.footer {
  margin-top: 80px;
  border-top: 0.5px solid var(--border);
  padding: 56px 0 28px;
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer h5 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer a {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer a:hover {
  color: var(--text);
}
.footer-bot {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 0.5px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* MDN-style content pages (privacy / support / changelog / terms) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
.doc h1 {
  font-size: 40px;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  font-weight: 700;
}
.doc .lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.doc h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  font-weight: 600;
}
.doc h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 24px 0 8px;
  font-weight: 600;
}
.doc p,
.doc li {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
}
.doc p {
  color: var(--text);
}
.doc p {
  margin: 0 0 14px;
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li {
  margin-bottom: 6px;
}
.doc strong {
  color: var(--text);
  font-weight: 600;
}
.doc a.inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-meta {
  display: inline-block;
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin: 0 0 24px;
}

/* Changelog entries */
.changelog-entry {
  padding: 26px 0;
  border-top: 0.5px solid var(--divider);
}
.changelog-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}
.changelog-entry header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.changelog-entry .ver {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.changelog-entry .pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.changelog-entry .pill.beta {
  background: oklch(0.95 0.06 75);
  color: oklch(0.55 0.13 65);
}
[data-theme="dark"] .changelog-entry .pill.beta {
  background: oklch(0.3 0.07 75);
  color: oklch(0.85 0.12 75);
}
.changelog-entry .date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-left: auto;
}
.changelog-entry ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.changelog-entry li {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.tag.add {
  background: oklch(0.94 0.07 145);
  color: oklch(0.42 0.13 145);
}
.tag.fix {
  background: oklch(0.94 0.05 252);
  color: oklch(0.5 0.15 252);
}
.tag.imp {
  background: oklch(0.94 0.06 75);
  color: oklch(0.5 0.13 65);
}
[data-theme="dark"] .tag.add {
  background: oklch(0.28 0.08 145);
  color: oklch(0.85 0.13 145);
}
[data-theme="dark"] .tag.fix {
  background: oklch(0.28 0.08 252);
  color: oklch(0.85 0.13 252);
}
[data-theme="dark"] .tag.imp {
  background: oklch(0.28 0.08 75);
  color: oklch(0.85 0.13 75);
}

/* FAQ-like support */
.faq {
  margin-top: 8px;
}
.faq details {
  border-top: 0.5px solid var(--divider);
  padding: 16px 0;
}
.faq details:last-child {
  border-bottom: 0.5px solid var(--divider);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--text-tertiary);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}
