:root {
  --brand: #fb4305;
  --brand-dark: #cc3503;
  --brand-soft: #fff1ea;
  --ink: #17140f;
  --muted: #6c6560;
  --line: #eae4de;
  --bg: #ffffff;
  --soft: #faf7f4;
  --radius: 14px;
  --maxw: 1060px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid var(--brand);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand img { width: 36px; height: 36px; }
.brand span i { font-style: normal; color: var(--brand); }

nav.main {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav.main a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9px;
}
nav.main a:hover { color: var(--ink); background: var(--soft); }
nav.main a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }

.hero {
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 56px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 18ch;
}
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 28px;
}

.page-head {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 38px;
}
.page-head h1 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.page-head p {
  color: var(--muted);
  margin: 0;
  max-width: 68ch;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #d8d0c8; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 56px 0; }
section.tint { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 {
  font-size: clamp(22px, 3.2vw, 29px);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-intro { color: var(--muted); max-width: 65ch; margin: 0 0 32px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { color: var(--muted); margin: 0; font-size: 15px; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 46px;
  border-left: 2px solid var(--line);
  margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -16px;
  top: -2px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.tags li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
}

.prose { max-width: 76ch; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: #3a352f; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 650; }
.table-scroll { overflow-x: auto; }

.faq-group { margin-bottom: 34px; }
details.qa {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
details.qa[open] { border-color: #f0c4b1; }
details.qa summary {
  cursor: pointer;
  padding: 16px 46px 16px 18px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand);
  font-weight: 400;
}
details.qa[open] summary::after { content: "\2212"; }
details.qa summary:hover { background: var(--soft); }
details.qa .answer { padding: 0 18px 18px; color: #3a352f; }
details.qa .answer p:first-child { margin-top: 0; }
details.qa .answer p:last-child { margin-bottom: 0; }

.callout {
  border: 1px solid #f3cdb9;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.note {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--muted);
  margin: 24px 0;
}

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.contact-list b { min-width: 96px; }

form.request { display: grid; gap: 16px; max-width: 560px; margin-top: 8px; }
form.request label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
form.request input,
form.request select,
form.request textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid #ddd5cd;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
form.request input:focus,
form.request select:focus,
form.request textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
form.request textarea { min-height: 110px; resize: vertical; }
form.request .hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }

footer.site {
  background: #17140f;
  color: #cbc4bc;
  padding: 46px 0 30px;
  margin-top: 0;
}
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
footer.site p { font-size: 14.5px; margin: 0 0 10px; max-width: 40ch; }
footer.site .brand-foot { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font-weight: 700; font-size: 18px; }
footer.site .brand-foot img { width: 34px; height: 34px; }
.legal {
  border-top: 1px solid #2e2a24;
  margin-top: 34px;
  padding-top: 18px;
  font-size: 13.5px;
  color: #9a938b;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .bar { min-height: 0; }
  nav.main { width: 100%; }
  nav.main a { padding: 7px 10px; font-size: 14.5px; }
  section { padding: 44px 0; }
}
