* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg-page);
}

a {
  color: inherit;
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

.hero {
  padding: 42px 0 10px;
  background: var(--white);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 13px;
  margin: 0 0 14px;
}

.crumbs .sep {
  opacity: 0.5;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 72ch;
}

.faq-shell {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 18px;
  margin: 18px 0 0;
}

.toolbar {
  display: block;
  margin: 0 0 10px;
}

.tabs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.tab {
  cursor: pointer;
  user-select: none;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--main);
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.12s ease;
}

.tab[aria-selected="true"] {
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.tab:hover {
  opacity: 0.75;
}


.sections {
  padding: 10px 0 38px;
}

.faq-section {
  padding: 14px 0 0;
  margin: 0;
}

.faq-section h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.faq-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

details {
  border-top: 1px solid var(--line);
}

details:first-child {
  border-top: none;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px;
  font-weight: 650;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.75;
  transition: transform 0.14s ease;
}

details[open] .chev {
  transform: rotate(180deg);
}

.answer {
  padding: 0 2px 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.answer p {
  margin: 0;
}

.cta {
  margin: 22px 0 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  padding: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cta strong {
  display: block;
  font-size: 16px;
}

.cta span {
  display: block;
  color: var(--text-2);
  margin-top: 4px;
}

.footer {
  padding: 26px 0 34px;
  font-size: 13px;
}

.hidden {
  display: none !important;
}
