/* Shared styles for Order Form, Live Reviews, Pay Page, and Review Page */
[hidden] { display: none !important; }
.pay-content-grid { display: grid; gap: 16px; }

/* Order Form (on index.html) */
.order-form { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field-opt { font-weight: 500; opacity: 0.72; }
.input, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
}
.textarea { min-height: 76px; resize: vertical; }
.input:focus, .textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; background: var(--white); }

/* Service Toggle (3 options) */
.service-toggle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.service-opt { position: relative; }
.service-opt input { position: absolute; opacity: 0; pointer-events: none; }
.service-opt label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 7px 6px;
  border: 3px solid var(--ink); border-radius: 8px;
  background: var(--white); font-weight: 700; font-size: clamp(0.76rem, 2.7vw, 0.92rem); line-height: 1.15;
  white-space: nowrap;
  cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.1s ease, background-color 0.12s ease;
}
.service-opt input:checked + label { background: var(--yellow); }
.service-opt input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.verdict-note { margin: -4px 0 0; font-size: 0.86rem; font-weight: 700; color: var(--green); }
.pay-subnote { margin: -8px 0 0; font-size: 0.84rem; color: #475569; text-align: center; font-weight: 500; }

.notes-toggle { border: 2.5px dashed var(--ink); border-radius: 8px; padding: 8px 12px; background: var(--paper); }
.notes-toggle summary { font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.notes-toggle .textarea { margin-top: 8px; }

/* Honeypot hidden from humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit-row { display: grid; gap: 8px; }
.reply-hint { margin: 0; font-weight: 700; font-size: 0.9rem; color: var(--green); }
.form-error { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--red); }
.email-fallback { margin: 2px 0 0; font-size: 0.88rem; font-weight: 600; }
.email-fallback a { text-decoration: underline; }

/* Booking Success Stamp (only motion on order form) */
.order-success { display: grid; gap: 12px; padding: 8px 0; }
.booked-stamp {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  max-width: 100%; text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.2vw, 2.8rem);
  line-height: 1.05; letter-spacing: 0.04em;
  color: var(--green); background: var(--green-soft);
  border: 4px solid var(--green); border-radius: 10px;
  padding: 10px 14px 7px; transform: rotate(-2deg);
  animation: bookedStamp 220ms cubic-bezier(0.16, 0.96, 0.28, 1.12) both;
}
.order-success p { margin: 0; font-weight: 600; }
@keyframes bookedStamp {
  from { opacity: 0; transform: scale(1.38) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(-2deg); }
}

/* Sample report link near pricing */
.sample-link-row {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  font-weight: 700; font-size: 0.94rem;
}
.sample-link { text-decoration: underline; text-underline-offset: 3px; }

/* Live Reviews Section */
.reviews-stats { font-weight: 700; font-size: 0.95rem; margin: -6px 0 14px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review-card {
  background: var(--white); border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 16px; display: grid; gap: 8px;
}
.review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.review-stars { font-size: 1.15rem; letter-spacing: 2px; color: #b45309; font-weight: 700; }
.review-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.v-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--green-soft); color: var(--green);
}
.v-pill-founding { background: var(--yellow); color: var(--ink); }
.review-text { margin: 0; font-weight: 500; font-size: 0.94rem; }
.review-meta { margin: 0; font-size: 0.84rem; font-weight: 700; opacity: 0.78; }

.premiere-card {
  background: var(--paper); border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 18px 20px; display: grid; gap: 8px;
  justify-items: start;
}
.premiere-card p { margin: 0; font-weight: 600; max-width: 56ch; }
.reviews-more-wrap { margin-top: 14px; }

/* Reveal for review cards (same reveal-once system) */
.js .rev-item {
  opacity: 0; transform: translateY(16px);
  transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js [data-reveal].is-in .rev-item { opacity: 1; transform: translateY(0); }

/* Calm Trustworthy Pay & Review Sub-pages */
.subpage-main { padding: clamp(24px, 5vw, 52px) 0 48px; }
.trust-card {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border: 3px solid var(--ink);
  border-radius: 14px; box-shadow: 5px 5px 0 var(--ink);
  padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px;
  animation: cardFade 260ms ease-out both;
}
@keyframes cardFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pay-ep {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 12px; border-bottom: 2px solid #e2e8f0;
}
.pay-ep-id { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; letter-spacing: 0.05em; padding-top: 2px; }
.status-chip {
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--yellow); color: var(--ink);
}
.status-chip-ok { background: var(--green-soft); color: var(--green); }
.pay-summary { display: grid; gap: 6px; }
.pay-service { font-weight: 700; font-size: 1.05rem; margin: 0; }
.pay-product { margin: 0; font-size: 0.94rem; color: #334155; word-break: break-word; }
.pay-price-box {
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 10px;
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pay-price-big { font-family: var(--font-display); font-size: clamp(2.8rem, 9vw, 3.8rem); line-height: 0.92; padding-top: 4px; }
.pay-btn-lg { width: 100%; min-height: 52px; font-size: 1.05rem; }

.crypto-box {
  background: #f8fafc; border: 2px solid var(--ink); border-radius: 10px;
  padding: 12px 14px; display: grid; gap: 8px;
}
.crypto-label { font-weight: 700; font-size: 0.88rem; margin: 0; }
.crypto-row { display: flex; gap: 8px; align-items: center; }
.crypto-addr {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem; background: var(--white); border: 2px solid #cbd5e1;
  border-radius: 6px; padding: 8px 10px;
}
.trust-lines {
  list-style: none; padding: 12px 0 0; margin: 0;
  border-top: 2px solid #e2e8f0; display: grid; gap: 6px;
  font-size: 0.88rem; color: #334155; font-weight: 500;
}
.trust-lines li { padding-left: 18px; position: relative; }
.trust-lines li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.subpage-links {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  font-size: 0.86rem; font-weight: 700; padding-top: 4px;
}

/* Comic 1-5 Star Selector (review.html) */
.star-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.star-fieldset legend { font-weight: 700; font-size: 0.92rem; padding: 0; }
.star-group { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.star-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-group label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border: 3px solid var(--ink); border-radius: 10px;
  background: var(--paper); color: #94a3b8;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}
.star-group label:hover,
.star-group label:hover ~ label,
.star-group input:checked ~ label {
  background: var(--yellow); color: var(--ink);
}
.star-group input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .booked-stamp, .trust-card { animation: none !important; }
  .js .rev-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}
