:root {
  --tt-gold: #d4af37;
  --tt-gold-soft: #f5d76e;
  --tt-text: #f0e8d8;
  --tt-muted: #c0b090;
  --tt-focus-ring: #f5d76e;
}

/* ── Skip to main content ── */
.skip-to-main {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-main:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  z-index: 10001;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #d4af37, #b8942e);
  color: #1a1a40;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* ── Readable measure for long text (blog, readings, legal) ── */
.prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #e8dcc8;
}

.prose :where(p) {
  margin-bottom: 0.85em;
}

.prose :where(p:last-child) {
  margin-bottom: 0;
}

.prose :where(h2, h3) {
  color: var(--tt-gold-soft);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1.15em;
  margin-bottom: 0.5em;
}

.prose :where(h2) {
  font-size: 1.35rem;
}

.prose :where(h3) {
  font-size: 1.1rem;
  color: var(--tt-gold);
}

.prose :where(ul, ol) {
  margin: 0.5em 0 1em 1.25rem;
  padding: 0;
}

.prose :where(li) {
  margin-bottom: 0.35em;
}

.prose :where(a) {
  color: var(--tt-gold);
}

.prose :where(a:hover) {
  color: var(--tt-gold-soft);
}

/* Legal / policy blocks: keep softer body tone */
.card-panel.prose {
  color: #c0b090;
}

/* ── Keyboard focus (skip elements that use custom focus in layout) ── */
a:focus-visible,
button:focus-visible,
.nav-dropdown-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--tt-focus-ring);
  outline-offset: 2px;
}

.cookie-banner-btn:focus-visible,
.cookie-banner-btn-secondary:focus-visible {
  outline: 2px solid var(--tt-focus-ring);
  outline-offset: 2px;
}

/* ── Pentagram som mynt (kostnad = N mynt med pentagram) ── */
.pent-cost-badge-wrap {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.pent-cost-coins {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.12rem;
  max-width: min(100%, 14rem);
  line-height: 1;
}

.pent-cost-coins--free {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7dcea0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 206, 160, 0.35);
  background: rgba(125, 206, 160, 0.08);
}

.pent-coin {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #f5d76e 0%, #c9a227 42%, #7a5a12 100%);
  box-shadow:
    0 0.06rem 0 rgba(255, 255, 255, 0.35) inset,
    0 0.12rem 0.2rem rgba(0, 0, 0, 0.45);
  border: 0.06rem solid rgba(40, 30, 10, 0.35);
}

.pent-coin__glyph {
  font-size: 0.42rem;
  line-height: 1;
  color: #1a1208;
  display: block;
  transform: translateY(0.02rem);
  filter: drop-shadow(0 0 0.12rem rgba(255, 220, 140, 0.35));
}

.pent-cost-coins__overflow {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--tt-gold);
  margin-left: 0.08rem;
  letter-spacing: 0.02em;
}

/* Saldo: ett mynt + siffra (stora tal) */
.pent-saldo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pent-saldo .pent-coin {
  width: 1.2rem;
  height: 1.2rem;
}

.pent-saldo .pent-coin__glyph {
  font-size: 0.5rem;
}

.pent-saldo__num {
  font-weight: 700;
  color: var(--tt-gold);
  font-variant-numeric: tabular-nums;
}

.pent-cost-badge--inline-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pent-cost-badge--inline-title h1,
.pent-cost-badge--inline-title h2 {
  margin-bottom: 0 !important;
}
