:root {
  --ink: #171515;
  --paper: #fffaf3;
  --muted: #716862;
  --line: rgba(23, 21, 21, 0.16);
  --primary: #f55555;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.05em;
}
p {
  margin: 0;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -70px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 99px;
  transition: top 0.2s ease;
}
.skip:focus-visible {
  top: 20px;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  width: min(1320px, calc(100% - 48px));
  height: 86px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.logo {
  width: 154px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}
.nav a:hover {
  color: var(--primary);
}
.header-actions {
  justify-self: end;
}

.btn {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-weight: 750;
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: #fff;
  border-color: transparent;
  background: var(--primary);
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

.hero-help {
  padding: 70px 0 40px;
}
.crumbs {
  margin-bottom: 26px;
  color: var(--muted);
  font: 500 11px var(--mono);
}
.crumbs a:hover {
  color: var(--primary);
}
.hero-help h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1;
}
.lede {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.count {
  margin-top: 14px;
  color: var(--muted);
  font: 600 10px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search {
  display: block;
  margin-top: 32px;
  max-width: 640px;
}
.search input {
  width: 100%;
  min-height: 60px;
  padding: 0 22px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  outline: none;
}
.search input:focus {
  border-color: var(--primary);
}

.results {
  max-width: 640px;
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.results[hidden] {
  display: none;
}
.results a {
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.results a:hover {
  border-color: var(--primary);
}
.results strong {
  font-size: 14px;
}
.results span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.results .none {
  padding: 15px 2px;
  color: var(--muted);
  font-size: 14px;
}

.cats {
  padding: 30px 0 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}
.cat:hover {
  border-color: var(--primary);
}
.cat h3 {
  font-size: 21px;
}
.cat p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.cat span {
  display: block;
  margin-top: 16px;
  color: var(--primary);
  font: 600 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
details:target {
  background: rgba(245, 85, 85, 0.05);
}
summary {
  padding: 23px 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
}
details[open] summary:after {
  content: "\2212";
}
details p {
  padding: 0 45px 14px 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.permalink {
  display: inline-block;
  padding: 0 4px 22px;
  color: var(--primary);
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card {
  margin-bottom: 90px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.contact-card h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.contact-card p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-card .btn {
  margin-top: 26px;
}
.tawk-embed {
  height: clamp(420px, 70vh, 620px);
  margin-top: 26px;
}
.tawk-embed iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 14px;
}
.tawk-embed:empty {
  display: none;
}

@media (max-width: 1050px) {
  .cats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .shell,
  .header {
    width: calc(100% - 28px);
  }
  .header {
    height: 74px;
    grid-template-columns: 1fr auto;
  }
  .nav {
    display: none;
  }
  .logo {
    width: 126px;
  }
  .cats {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
