.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--control-radius);
  font-weight: 800;
  font-size: 16px;
  transition: all .2s ease;
  border: none;
}
.btn-primary {
  background: var(--gyg-orange);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover { background: var(--gyg-orange-dark); box-shadow: none; }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); }

.section {
  padding: var(--section-space) 0;
}
.section-soft {
  background: var(--gyg-gray);
}
.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gyg-orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.section-head h2, .section-title {
  margin-bottom: 6px;
  font-weight: 800;
}
.section-head p {
  max-width: 600px;
  margin: 0;
  font-size: 17px;
}
.section-link {
  color: var(--gyg-orange);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.section-link i { transition: transform .2s ease; }
.section-link:hover i { transform: translateX(4px); }

@media (max-width: 780px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-link { white-space: normal; }
}

.phrase-title .accent-punctuation,
.accent-punctuation { color: #ff6b35; }
.punctuation-lock { display: inline-block; }

.modal[hidden] { display: none; }
.modal {
  position: fixed; z-index: 150;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.sheet {
  position: relative; z-index: 1;
  width: min(100%, 540px);
  min-height: 520px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--gyg-line);
  animation: slideUp .3s ease;
  display: flex;
  flex-direction: column;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.close {
  position: absolute;
  right: 16px; top: 16px;
  width: 42px; height: 42px;
  border: 1px solid var(--gyg-line);
  border-radius: 50%;
  background: #fff;
  color: var(--gyg-blue);
  font-size: 20px;
  display: grid; place-items: center;
}
.progress {
  display: flex;
  gap: 6px;
  margin: 4px 60px 24px 0;
}
.progress span {
  height: 5px;
  flex: 1;
  border-radius: 6px;
  background: var(--gyg-line);
  transition: background .3s ease;
}
.progress span.active { background: var(--gyg-orange); }
.progress span.done { background: #1f8b6a; }
.flow-kicker {
  color: var(--gyg-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sheet h2 { margin: 4px 0 8px; font-size: 28px; font-weight: 800; }
.flow-preview {
  margin: 22px 0;
  padding: 20px;
  display: flex;
  gap: 18px;
  border-radius: var(--radius);
  background: var(--gyg-gray);
  border: 1px solid var(--gyg-line);
  min-height: 160px;
  align-items: center;
}
.flow-preview>i {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gyg-blue);
  color: #fff;
  font-size: 22px;
}
.flow-preview small { color: var(--gyg-orange); font-weight: 800; }
.flow-preview b { display: block; color: var(--gyg-blue); font-size: 18px; margin: 3px 0; }
.flow-preview p { margin: 0; font-size: 14px; }
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.modal-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 20px;
}
.modal-actions .btn-secondary {
  background: var(--gyg-gray);
  color: var(--gyg-blue);
  border: 1px solid var(--gyg-line);
}
.modal-actions .btn-secondary:hover { background: #e0e2e6; }
.flow-note {
  display: block;
  margin-top: 16px;
  color: var(--gyg-muted);
  text-align: center;
  font-size: 13px;
}
.flow-done {
  text-align: center;
  padding: 10px 0;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flow-done i {
  font-size: 56px;
  color: #1f8b6a;
  margin-bottom: 12px;
}
.flow-done h3 {
  color: var(--gyg-blue);
  font-size: 24px;
}
.flow-done p {
  color: var(--gyg-muted);
  font-size: 16px;
}

.toast {
  position: fixed; z-index: 220;
  left: 50%; bottom: 28px;
  max-width: min(500px, calc(100% - 30px));
  padding: 14px 24px;
  background: var(--gyg-blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 120px));
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

@media (max-width: 560px) {
  .btn { justify-content: center; }
  .modal { padding: 0; align-items: flex-end; }
  .sheet { padding: 24px 18px; border-radius: 16px 16px 0 0; min-height: 480px; }
  .flow-preview { flex-direction: column; gap: 12px; }
  .modal-actions { flex-direction: column; }
}
.site-faq {
  padding: var(--section-space) 0;
  background: #fff;
  border-top: 1px solid #dce3eb;
}

.site-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.site-faq-intro {
  position: sticky;
  top: 112px;
}

.site-faq-intro .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-faq-intro h2 {
  max-width: 470px;
  margin: 12px 0 0;
}

.site-faq-intro p {
  max-width: 460px;
  margin: 18px 0 0;
  color: #586d85;
  font-size: 16px;
  line-height: 1.7;
}

.site-faq-list {
  border-top: 1px solid #bdcad8;
}

.site-faq-list details {
  border-bottom: 1px solid #bdcad8;
}

.site-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  color: var(--gyg-blue);
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

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

.site-faq-list summary i {
  color: var(--gyg-orange);
  transition: transform .18s ease;
}

.site-faq-list details[open] summary i { transform: rotate(45deg); }

.site-faq-answer {
  max-width: 820px;
  padding: 0 42px 25px 0;
}

.site-faq-answer p {
  margin: 0;
  color: #51667f;
  font-size: 15px;
  line-height: 1.75;
}

.site-faq-link,
.site-faq-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 15px 18px 0 0;
  color: #087fa4;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-faq-link:hover,
.site-faq-source:hover { text-decoration: underline; }

.site-faq-reviewed {
  display: block;
  margin-top: 11px;
  color: #718398;
  font-size: 12px;
}

.site-faq.is-full .site-faq-grid { grid-template-columns: 1fr; gap: 36px; }
.site-faq.is-full .site-faq-intro { position: static; }
.site-faq.is-full .site-faq-intro h2,
.site-faq.is-full .site-faq-intro p { max-width: 850px; }
.site-faq.is-full .site-faq-answer { max-width: 980px; }

.document-collage {
  position: relative;
  width: min(100%, 650px);
  color: #151515;
  isolation: isolate;
}

.document-paper {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid #d7dadd;
  background: #fff;
  color: #151515;
  box-shadow: 2px 10px 25px rgba(0, 0, 0, .1), 0 4px 10px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.document-paper:hover {
  z-index: 6;
  transform: rotate(0deg) scale(1.03);
  box-shadow: 4px 16px 34px rgba(0, 0, 0, .14), 0 6px 12px rgba(0, 0, 0, .07);
}

.document-ticket {
  padding: 24px 20px 28px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.document-ticket::after {
  position: absolute;
  right: -1px;
  bottom: -7px;
  left: -1px;
  height: 7px;
  background: linear-gradient(135deg, #fff 25%, transparent 25%) -3px 0,
              linear-gradient(225deg, #fff 25%, transparent 25%) -3px 0;
  background-size: 7px 7px;
  content: "";
}

.document-ticket__header {
  display: grid;
  gap: 2px;
  margin-bottom: 15px;
  text-align: center;
}

.document-ticket__header strong {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.2;
}

.document-ticket__meta,
.document-ticket p,
.document-ticket footer,
.document-ticket__tax {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.document-ticket p { margin: 0 0 5px; }
.document-ticket p b,
.document-ticket footer strong { white-space: nowrap; }
.document-ticket__rule { margin: 13px 0; border-top: 1px dashed #777; }
.document-ticket__rule--solid { border-top-style: solid; }
.document-ticket footer { align-items: baseline; font-size: 18px; font-weight: 800; }
.document-ticket__tax {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid #999;
}
.document-ticket__thanks,
.document-ticket__note { display: block; margin-top: 20px; text-align: center; }

.document-hotel {
  padding: 26px 28px;
  font-family: Georgia, "Times New Roman", serif;
}

.document-hotel header {
  display: grid;
  gap: 4px;
  padding-bottom: 13px;
  border-bottom: 2px solid #222;
}

.document-hotel header strong { font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.document-hotel header span { font-size: 9px; }
.document-hotel__meta { display: flex; justify-content: space-between; margin: 12px 0 18px; font-size: 9px; }
.document-hotel__lines { border-top: 1px solid #d8dadd; border-bottom: 1px solid #d8dadd; }
.document-hotel__lines p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; font-size: 10px; }
.document-hotel__lines p + p { border-top: 1px solid #e5e6e7; }
.document-hotel footer { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-weight: 800; }
.document-hotel footer strong { font-size: 23px; }

.document-collage--home { height: 545px; }
.document-collage--home .document-ticket--front {
  z-index: 3;
  top: 70px;
  left: 35px;
  width: 285px;
  min-height: 445px;
  transform: rotate(-4deg);
}
.document-collage--home .document-hotel--top {
  z-index: 4;
  top: 32px;
  left: 270px;
  width: 318px;
  min-height: 270px;
  transform: rotate(7deg);
}
.document-collage--home .document-ticket--service {
  z-index: 2;
  right: 38px;
  bottom: 20px;
  width: 300px;
  min-height: 340px;
  transform: rotate(4deg);
}

.document-collage--register { height: 335px; }
.document-collage--register .document-ticket {
  padding: 20px 16px 22px;
  font-size: 10px;
  line-height: 1.4;
}
.document-collage--register .document-ticket__header strong { font-size: 14px; }
.document-collage--register .document-ticket__note { margin-top: 12px; font-size: 8px; }
.document-collage--register .document-ticket--meal footer {
  width: 180px;
  gap: 6px;
  font-size: 14px;
}
.document-collage--register .document-ticket--meal {
  z-index: 2;
  top: 25px;
  left: 0;
  width: 260px;
  min-height: 285px;
  transform: rotate(-4deg);
}
.document-collage--register .document-ticket--fuel {
  z-index: 3;
  top: 10px;
  left: calc(50% - 113px);
  width: 226px;
  min-height: 300px;
  transform: rotate(2deg);
}
.document-collage--register .document-hotel--register {
  z-index: 1;
  top: 32px;
  right: 5px;
  width: 245px;
  min-height: 265px;
  transform: rotate(5deg);
}

.document-collage--expenses {
  width: min(100%, 590px);
  height: 430px;
  margin-left: auto;
}
.document-collage--expenses .document-expense {
  font-size: 10px;
}
.document-collage--expenses .document-ticket {
  padding: 18px 16px 22px;
}
.document-collage--expenses .document-ticket__header strong {
  font-size: 14px;
}
.document-collage--expenses .document-ticket__note {
  margin-top: 11px;
  font-size: 8px;
}
.document-collage--expenses .document-hotel {
  padding: 21px 20px;
}
.document-collage--expenses .document-hotel header strong {
  font-size: 14px;
}
.document-collage--expenses .document-hotel footer strong {
  font-size: 18px;
}
.document-expense--computer {
  z-index: 3;
  top: 18px;
  left: 8px;
  width: 295px;
  min-height: 235px;
  transform: rotate(-4deg);
}
.document-expense--hardware {
  z-index: 4;
  top: 38px;
  right: 6px;
  width: 260px;
  min-height: 285px;
  transform: rotate(4deg);
}
.document-expense--parts {
  z-index: 2;
  bottom: 8px;
  left: 55px;
  width: 285px;
  min-height: 225px;
  transform: rotate(3deg);
}
.document-expense--fuel {
  z-index: 5;
  right: 80px;
  bottom: 2px;
  width: 235px;
  min-height: 230px;
  transform: rotate(-3deg);
}

.document-collage--accountant {
  width: min(100%, 590px);
  height: 415px;
  margin-left: auto;
}
.document-collage--accountant .document-quarter-paper {
  font-size: 10px;
}
.document-collage--accountant .document-ticket {
  padding: 19px 16px 23px;
}
.document-collage--accountant .document-ticket__header strong,
.document-collage--accountant .document-hotel header strong {
  font-size: 14px;
}
.document-collage--accountant .document-ticket__note {
  margin-top: 12px;
  font-size: 8px;
}
.document-collage--accountant .document-hotel {
  padding: 21px 20px;
}
.document-collage--accountant .document-hotel footer strong {
  font-size: 18px;
}
.document-quarter-paper--supplies {
  z-index: 4;
  top: 22px;
  left: 8px;
  width: 270px;
  min-height: 285px;
  transform: rotate(-5deg);
}
.document-quarter-paper--software {
  z-index: 3;
  top: 42px;
  right: 12px;
  width: 300px;
  min-height: 235px;
  transform: rotate(5deg);
}
.document-quarter-paper--courier {
  z-index: 6;
  bottom: 5px;
  left: 170px;
  width: 245px;
  min-height: 255px;
  transform: rotate(2deg);
}

@media (max-width: 780px) {
  .site-faq { padding: 68px 0; }
  .site-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-faq-intro { position: static; }
  .site-faq-list summary { padding: 21px 0; font-size: 16px; }
  .site-faq-answer { padding-right: 0; }
  .document-collage { width: min(100%, 650px); }
}

@media (max-width: 560px) {
  .document-collage { width: 640px; margin-left: 50%; transform: translateX(-50%) scale(.54); transform-origin: top center; }
  .document-collage--home { height: 300px; }
  .document-collage--register { height: 185px; }
  .document-collage--expenses { height: 240px; }
  .document-collage--accountant { height: 250px; }
}

.document-collage--register .document-hotel header strong { white-space: normal; overflow-wrap: anywhere; }
.document-collage--register .document-hotel__lines p > * { min-width: 0; overflow-wrap: anywhere; }
