:root {
  color: #302b26;
  background: #f8f4ec;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(180deg, #f4eddf 0, #fffdf8 320px, #f8f4ec 100%); }
a { color: #617847; }

.faq-site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(20px, calc((100% - 960px) / 2)); border-bottom: 1px solid rgba(103, 89, 70, .12); background: rgba(255, 253, 248, .9); }
.faq-brand { display: inline-flex; align-items: center; gap: 10px; color: #302b26; font-weight: 800; text-decoration: none; }
.faq-brand img { border-radius: 10px; }
.faq-guide-link { font-size: .88rem; font-weight: 700; }
.faq-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 72px; }
.faq-breadcrumbs { display: flex; gap: 8px; align-items: center; color: #82796f; font-size: .78rem; }
.faq-hero { padding: 54px 0 36px; text-align: center; }
.faq-eyebrow { margin: 0 0 8px; color: #718956; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.faq-hero h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.04em; }
.faq-hero > p:last-child { max-width: 620px; margin: 18px auto 0; color: #746d65; line-height: 1.9; }
.faq-shortcuts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 28px; }
.faq-shortcuts a { display: grid; min-height: 52px; place-items: center; padding: 10px; border: 1px solid #ded5c7; border-radius: 16px; background: #fff; color: #5f584f; font-size: .82rem; font-weight: 800; text-align: center; text-decoration: none; }
.faq-section { scroll-margin-top: 18px; margin-top: 22px; padding: 28px; border: 1px solid #e6ded2; border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 16px 40px rgba(77, 64, 47, .06); }
.faq-section--important { border-color: #e6cfc5; background: #fff9f5; }
.faq-section h2, .faq-contact h2 { margin: 0 0 18px; font-size: clamp(1.3rem, 4vw, 1.8rem); }
details { border-top: 1px solid #ece5da; }
details:last-child { border-bottom: 1px solid #ece5da; }
summary { cursor: pointer; padding: 19px 34px 19px 2px; font-weight: 800; line-height: 1.6; }
details > div { padding: 0 4px 18px; color: #6d665e; font-size: .94rem; line-height: 1.9; }
details p { margin: 0 0 10px; }
details ol { margin: 12px 0 14px; padding-left: 1.5em; }
details li + li { margin-top: 7px; }
.faq-carousel { width: min(100%, 540px); margin: 18px auto 20px; padding: 12px; border: 1px solid #e9e0d5; border-radius: 20px; background: #fffaf5; }
.faq-carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.faq-carousel-track::-webkit-scrollbar { display: none; }
.faq-carousel-track:focus-visible { outline: 3px solid #6f8757; outline-offset: 2px; border-radius: 12px; }
.faq-carousel-slides { display: flex; margin: 0; padding: 0; list-style: none; }
.faq-carousel-slides li { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.faq-carousel-slides figure { margin: 0; text-align: center; }
.faq-carousel-slides img { display: block; width: 100%; height: min(62vh, 600px); object-fit: contain; border-radius: 12px; background: #fff; }
.faq-carousel-slides figcaption { padding: 8px 4px 2px; color: #5f584f; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.faq-carousel-controls { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.faq-carousel.is-ready .faq-carousel-controls { display: flex; }
.faq-carousel-controls button { min-height: 40px; padding: 8px 14px; border: 1px solid #dcd2c4; border-radius: 12px; background: #fff; color: #4f633e; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.faq-carousel-controls button:disabled { color: #aaa199; cursor: default; }
.faq-carousel-controls button:focus-visible { outline: 3px solid #6f8757; outline-offset: 2px; }
.faq-carousel-controls span { min-width: 48px; color: #5f584f; font-size: .84rem; font-weight: 800; text-align: center; }
.faq-example-image { width: min(100%, 550px); margin: 2px 0 18px; }
.faq-example-image img { display: block; width: 100%; height: auto; border: 1px solid #e5ded3; border-radius: 18px; background: #f6f1e9; }
.faq-example-image figcaption { margin-top: 7px; color: #8a8178; font-size: .78rem; text-align: center; }
.faq-answer-card { color: #5f574f; line-height: 1.9; }
.faq-answer-card ol { margin: 14px 0; padding-left: 1.4em; }
.faq-answer-card li + li { margin-top: 7px; }
.faq-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 30px; border-radius: 28px; background: #6f8757; color: #fff; }
.faq-contact .faq-eyebrow { color: #e6efd9; }
.faq-contact h2 { margin-bottom: 8px; }
.faq-contact p:last-child { margin: 0; line-height: 1.7; opacity: .9; }
.faq-contact a { flex: 0 0 auto; padding: 13px 18px; border-radius: 14px; background: #fff; color: #5b7044; font-weight: 800; text-decoration: none; }
.faq-footer { display: flex; justify-content: space-between; gap: 24px; padding: 26px max(20px, calc((100% - 920px) / 2)); border-top: 1px solid #e1d8ca; color: #7e756b; font-size: .78rem; }
.faq-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }

@media (max-width: 640px) {
  .faq-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .faq-section { padding: 22px 18px; border-radius: 22px; }
  .faq-carousel { padding: 8px; }
  .faq-carousel-slides img { height: min(58vh, 520px); }
  .faq-contact, .faq-footer { align-items: stretch; flex-direction: column; }
  .faq-contact a { text-align: center; }
  .faq-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
