/* Guide / article pages — legal.css layout + comparison / FAQ / RTL */

.guide-kicker a {
  color: inherit;
  text-decoration: none;
}

.guide-kicker a:hover {
  color: var(--ink);
}

.guide-cta {
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.guide-related {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.guide-related h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.guide-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-related li {
  margin: 0 0 8px;
}

.guide-related a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h2,
.faq-item h3 {
  margin: 0 0 10px;
  border: 0;
  padding: 0;
  font-family: var(--disp);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.faq-item p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.cmp-note {
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 18px 0 0;
}

.lang-switch {
  font-size: 13px;
  color: var(--ink-2);
  margin-inline-end: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch:hover {
  color: var(--ink);
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-right,
html[dir="rtl"] .foot-grid,
html[dir="rtl"] .foot-base,
html[dir="rtl"] .guide-cta,
html[dir="rtl"] .btnrow {
  direction: rtl;
}

html[dir="rtl"] body {
  text-align: right;
}

.nf {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(66px + 48px) var(--pad) 80px;
}

.nf h1 {
  font-family: var(--disp);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.nf p {
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 24px;
  line-height: 1.55;
}

.doc-body.compare .cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--panel);
  margin: 20px 0;
}

.doc-body.compare table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.95rem;
}

.doc-body.compare th,
.doc-body.compare td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.doc-body.compare tbody th {
  text-align: start;
  font-weight: 600;
  white-space: nowrap;
}

.doc-body.compare td.us,
.doc-body.compare th.us {
  background: rgba(224, 138, 75, 0.09);
}

.doc-body.compare tr.key th {
  color: #e08a4b;
}
