:root {
  --ink: #101820;
  --text-secondary: #5d6b73;
  --bg-soft: #f5f5f5;
  --line: #e6e6e6;
  --brand: #c11425;
  --brand-dark: #9c0f1e;
  --accent: #ffc000;
  --dark: #111111;
  --white: #ffffff;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(17, 17, 17, .10);
  --font-display: var(--font-family);
  --font-body: var(--font-family);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

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

button {
  font-family: var(--font-family);
  cursor: pointer;
}

input {
  font-family: var(--font-family);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

h1,
h2,
h3 {
  font-family: var(--font-family);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
}

h3 {
  font-size: 19px;
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 17px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-text {
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-text svg {
  transition: transform .15s ease;
}

.btn-text:hover svg {
  transform: translateX(3px);
}

/* BREADCRUMB */
.breadcrumb {
  padding: 18px 20px 0 !important;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb li:last-child {
  color: var(--ink);
  font-weight: 700;
}

/* HERO */
.hero {
  padding: 48px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-art {
  aspect-ratio: 4/4.6;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(193, 20, 37, .14), transparent 60%),
    radial-gradient(90% 90% at 100% 100%, rgba(255, 192, 0, .16), transparent 55%),
    linear-gradient(160deg, #12181f 0%, #101820 55%, #1a2530 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quick-help-card {
  position: absolute;
  left: -30px;
  bottom: -28px;
  width: 238px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
}

.quick-help-card .qh-label {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}

.quick-help-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.quick-help-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* AEO ANSWER CARD */
.aeo {
  background: var(--bg-soft);
}

.aeo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  border-left: 6px solid var(--brand);
}

.aeo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.aeo-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.aeo-card h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.aeo-card p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px;
}

.aeo-card p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* SEARCH */
.search-section {
  padding-top: 64px;
  padding-bottom: 0;
}

.search-box {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 20px 22px 20px 56px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}

.search-box input:focus {
  border-color: var(--brand);
}

.search-box svg.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.search-hint strong {
  color: var(--ink);
  font-weight: 600;
}

/* CATEGORY CHIPS */
.cat-nav {
  padding: 30px 0 0;
}

.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all .15s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--ink);
}

.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.no-results {
  display: none;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-secondary);
}

.no-results.show {
  display: block;
}

.no-results strong {
  display: block;
  font-family: var(--font-family);
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}

/* QUICK ANSWERS */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.quick-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.quick-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-card .qc-index {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex: none;
}

.quick-card h3 {
  font-size: 16px;
  line-height: 1.3;
}

.quick-card p {
  font-size: 14px;
  flex: 1;
}

/* FAQ CATEGORY BLOCKS */
.faq-category {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.faq-category:first-of-type {
  border-top: none;
}

.faq-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.faq-cat-head h2 {
  font-size: 26px;
}

.faq-count {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: border-color .15s ease;
}

.faq-item[open] {
  border-color: var(--ink);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .chev {
  flex: none;
  transition: transform .2s ease;
  color: var(--brand);
}

.faq-item[open] .chev {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 24px;
}

.faq-body p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.faq-body p:last-of-type {
  margin-bottom: 16px;
}

.faq-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.faq-learn svg {
  transition: transform .15s ease;
}

.faq-learn:hover svg {
  transform: translateX(3px);
}

mark {
  background: rgba(255, 192, 0, .45);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

/* IMAGE / TRUST SECTIONS */
.feature-band {
  background: var(--bg-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-grid.reverse .feature-art {
  order: 2;
}

.feature-art {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #101820 0%, #1c2933 60%, #101820 100%);
}

.feature-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-copy h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.feature-copy p {
  font-size: 16px;
  margin-bottom: 26px;
}

/* ABOUT / TRUST NOTE */
.about-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px;
}

.about-note p {
  font-size: 16px;
  margin: 18px 0 26px;
}

/* RELATED */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}

.related-card:hover {
  border-color: var(--brand);
  background: var(--bg-soft);
}

.related-card svg {
  flex: none;
  color: var(--brand);
}

/* FINAL CTA */
.final-cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 17px;
}

.final-cta .hero-ctas {
  justify-content: center;
}

.final-cta .btn-secondary {
  background: var(--white);
}

/* MOBILE STICKY CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(17, 17, 17, .08);
}

.sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
}

.sticky-cta .btn-secondary {
  border: 1px solid var(--line);
}

/* RESPONSIVE */

/* Styles migrated from inline attributes */
.page-inline-1 {
  justify-content: center;
}

.page-inline-2 {
  padding-top: 16px;
}

.page-inline-3 {
  justify-content: center;
}

.page-inline-4 {
  background: var(--bg-soft);
}

.page-inline-5 {
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-grid.reverse .feature-art {
    order: 0;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:640px) {
  section {
    padding: 56px 0;
  }

  .wrap {
    padding: 0 18px;
  }

  .btn-apply {
    display: none;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .quick-help-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .aeo-card {
    padding: 30px 22px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }

  .faq-cat-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}