/* ============================================================
   PENNYWORTH DESIGN SYSTEM
   Shared stylesheet for /legal/, /consign/, and document pages
   © 2026 Pennyworth LLC
   ============================================================ */

:root {
  --pw-black:        #0E0E0E;
  --pw-charcoal:     #1A1A1A;
  --pw-ink:          #222222;
  --pw-paper:        #FAF8F3;
  --pw-cream:        #F5F0E6;
  --pw-cream-deep:   #EDE5D2;
  --pw-gold:         #C9A24B;
  --pw-gold-deep:    #8C6E2A;
  --pw-gold-soft:    #E8D9B0;
  --pw-rule:         rgba(201, 162, 75, 0.35);
  --pw-text:         #1F1E1B;
  --pw-text-muted:   #5A574F;
  --pw-shadow:       0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --pw-shadow-hover: 0 4px 8px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.10);
  --pw-active:       #2D7A3E;
  --pw-warn:         #B8860B;
  --pw-error:        #B33A3A;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pw-text);
  background: var(--pw-paper);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 162, 75, 0.06), transparent 60%),
    radial-gradient(1000px 500px at 110% 110%, rgba(201, 162, 75, 0.04), transparent 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ======================== HEADER ======================== */
.pw-header {
  background: var(--pw-black);
  color: var(--pw-cream);
  border-bottom: 3px solid var(--pw-gold);
  position: relative;
  overflow: hidden;
}

.pw-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(201,162,75,0.025) 40px, rgba(201,162,75,0.025) 41px);
  pointer-events: none;
}

.pw-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.75rem 1.75rem 2.25rem;
  position: relative;
  z-index: 1;
}

.pw-brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.pw-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pw-gold-soft);
  text-transform: uppercase;
}

.pw-brand-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--pw-gold);
  text-transform: uppercase;
}

.pw-doc-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pw-gold);
  margin: 0 0 0.5rem 0;
}

.pw-doc-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1rem 0;
  color: var(--pw-cream);
}

.pw-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(245, 240, 230, 0.85);
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}

.pw-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pw-gold-soft);
  text-decoration: none;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.pw-back-link:hover { border-bottom-color: var(--pw-gold); }

/* ======================== MAIN ======================== */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem 3rem;
  width: 100%;
  flex-grow: 1;
}

main.pw-document-main {
  max-width: 820px;
}

.pw-intro {
  margin: 0 auto 4rem auto;
  max-width: 760px;
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--pw-rule);
}

.pw-intro-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pw-gold-deep);
  margin: 0 0 0.85rem 0;
}

.pw-intro-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pw-charcoal);
  margin: 0 0 1.25rem 0;
}

.pw-intro-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--pw-text);
  margin: 0;
}

/* ======================== DOCUMENT GRID ======================== */
.pw-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 0 0 4rem 0;
}

.pw-doc-card {
  background: white;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--pw-shadow);
  position: relative;
  overflow: hidden;
}

.pw-doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pw-gold);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.pw-doc-card:hover,
.pw-doc-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--pw-shadow-hover);
  border-color: var(--pw-gold);
  outline: none;
}

.pw-doc-card:hover::before,
.pw-doc-card:focus-visible::before {
  transform: scaleX(1);
}

.pw-doc-card.pw-doc-card-info {
  cursor: default;
}
.pw-doc-card.pw-doc-card-info:hover {
  transform: none;
  box-shadow: var(--pw-shadow);
  border-color: var(--pw-cream-deep);
}
.pw-doc-card.pw-doc-card-info:hover::before {
  transform: scaleX(0.3);
}

.pw-doc-card-header { padding: 1.75rem 1.75rem 0.75rem; }

.pw-doc-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.pw-doc-card-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pw-gold-deep);
  text-transform: uppercase;
}

.pw-status {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(45, 122, 62, 0.10);
  color: var(--pw-active);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  border: 1px solid rgba(45, 122, 62, 0.25);
}

.pw-status-info {
  background: rgba(201, 162, 75, 0.10);
  color: var(--pw-gold-deep);
  border-color: var(--pw-rule);
}

.pw-doc-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pw-charcoal);
  margin: 0 0 0.5rem 0;
}

.pw-doc-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--pw-text-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.pw-doc-card-meta strong {
  color: var(--pw-gold-deep);
  font-weight: 600;
}

.pw-doc-card-body {
  padding: 0.5rem 1.75rem 1.5rem;
  flex-grow: 1;
}

.pw-doc-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--pw-text);
  margin: 0 0 1rem 0;
}

.pw-doc-card-applies {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--pw-text-muted);
  letter-spacing: 0.02em;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--pw-cream-deep);
}

.pw-doc-card-applies strong {
  color: var(--pw-charcoal);
  font-weight: 600;
}

.pw-doc-card-footer {
  padding: 1rem 1.75rem 1.5rem;
  background: var(--pw-cream);
  border-top: 1px solid var(--pw-cream-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pw-doc-card-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pw-gold-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.pw-doc-card-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 1.1em;
}

.pw-doc-card:hover .pw-doc-card-cta-arrow,
.pw-doc-card:focus-visible .pw-doc-card-cta-arrow {
  transform: translateX(4px);
}

.pw-doc-card-format {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--pw-text-muted);
  text-transform: uppercase;
}

.pw-doc-card-cta-info {
  color: var(--pw-text-muted);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ======================== INFO PANEL ======================== */
.pw-info-panel {
  background: white;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 2rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--pw-shadow);
}

.pw-info-panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 0 0 1rem 0;
}

.pw-info-panel p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.pw-info-panel p:last-child { margin-bottom: 0; }

/* ======================== CONTACT ======================== */
.pw-contact {
  background: var(--pw-cream);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--pw-cream-deep);
}

.pw-contact-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pw-gold-deep);
  text-align: center;
  margin: 0 0 0.5rem 0;
}

.pw-contact-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: var(--pw-charcoal);
  margin: 0 0 1.25rem 0;
}

.pw-contact-body {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem auto;
  font-size: 0.97rem;
  line-height: 1.7;
}

.pw-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.pw-contact-item {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pw-text);
}

.pw-contact-item span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pw-gold-deep);
  margin-bottom: 0.4rem;
}

.pw-contact-item a {
  color: var(--pw-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--pw-rule);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pw-contact-item a:hover { border-bottom-color: var(--pw-gold); color: var(--pw-gold-deep); }

/* ======================== FOOTER ======================== */
footer.pw-footer {
  background: var(--pw-black);
  color: rgba(245, 240, 230, 0.6);
  padding: 2rem 1.75rem;
  text-align: center;
  border-top: 3px solid var(--pw-gold);
  margin-top: 0;
}

.pw-footer-tag {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pw-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.pw-footer-meta {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.pw-footer-links {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.pw-footer-links a {
  color: var(--pw-gold-soft);
  margin: 0 0.6rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.pw-footer-links a:hover { border-bottom-color: var(--pw-gold); }

/* ======================== DOCUMENT TYPOGRAPHY ======================== */
.pw-document {
  background: white;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 3rem 3rem;
  box-shadow: var(--pw-shadow);
  margin-bottom: 3rem;
}

.pw-document h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pw-charcoal);
  margin: 2.5rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--pw-rule);
}

.pw-document h1:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.pw-document h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 2rem 0 0.85rem 0;
}

.pw-document h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pw-charcoal);
  margin: 1.5rem 0 0.6rem 0;
}

.pw-document p {
  margin: 0 0 1.1rem 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--pw-text);
}

.pw-document ul,
.pw-document ol {
  margin: 0 0 1.25rem 0;
  padding-left: 1.5rem;
}

.pw-document li {
  margin-bottom: 0.5rem;
  font-size: 0.97rem;
  line-height: 1.7;
}

.pw-document strong { color: var(--pw-charcoal); font-weight: 600; }

.pw-document hr {
  border: none;
  border-top: 1px solid var(--pw-rule);
  margin: 2.5rem 0;
}

.pw-document a {
  color: var(--pw-gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--pw-rule);
  transition: border-color 0.2s ease;
}
.pw-document a:hover { border-bottom-color: var(--pw-gold); }

/* Document warning callout */
.pw-doc-warning {
  background: linear-gradient(135deg, rgba(201,162,75,0.10), rgba(201,162,75,0.04));
  border-left: 4px solid var(--pw-gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  letter-spacing: 0.02em;
}

/* Document meta block */
.pw-doc-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--pw-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--pw-rule);
  border-bottom: 1px solid var(--pw-rule);
  padding: 0.85rem 0;
  margin: 0 0 2rem 0;
}

.pw-doc-meta strong {
  color: var(--pw-gold-deep);
  font-weight: 600;
}

/* Document table of contents */
.pw-doc-toc {
  background: var(--pw-cream);
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 0 0 2.5rem 0;
}

.pw-doc-toc-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pw-gold-deep);
  margin: 0 0 0.75rem 0;
}

.pw-doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.pw-doc-toc li {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.pw-doc-toc a {
  color: var(--pw-text);
  text-decoration: none;
  border-bottom: none;
}

.pw-doc-toc a:hover { color: var(--pw-gold-deep); }

/* ======================== ACCEPTANCE FORM ======================== */
.pw-form-section {
  background: white;
  border: 2px solid var(--pw-gold);
  border-radius: 6px;
  padding: 2.5rem 2.5rem;
  box-shadow: var(--pw-shadow);
  margin-bottom: 3rem;
}

.pw-form-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 0 0 0.75rem 0;
}

.pw-form-intro {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--pw-text);
  margin: 0 0 2rem 0;
}

.pw-field {
  margin-bottom: 1.5rem;
}

.pw-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pw-gold-deep);
  margin-bottom: 0.45rem;
}

.pw-field-required::after {
  content: ' *';
  color: var(--pw-error);
}

.pw-field input[type="text"],
.pw-field input[type="email"],
.pw-field input[type="tel"] {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 4px;
  background: var(--pw-paper);
  color: var(--pw-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pw-field input:focus {
  outline: none;
  border-color: var(--pw-gold);
  background: white;
}

.pw-checkbox-group {
  background: var(--pw-cream);
  border: 1px solid var(--pw-cream-deep);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.pw-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pw-checkbox-row:last-child { margin-bottom: 0; }

.pw-checkbox-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0 0;
  accent-color: var(--pw-gold-deep);
  cursor: pointer;
}

.pw-checkbox-row label {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--pw-text);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0;
}

.pw-checkbox-row label strong {
  color: var(--pw-charcoal);
  font-weight: 600;
}

.pw-submit-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--pw-charcoal);
  color: var(--pw-gold-soft);
  border: 2px solid var(--pw-gold);
  border-radius: 4px;
  padding: 0.95rem 2.25rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.pw-submit-btn:hover {
  background: var(--pw-gold);
  color: var(--pw-charcoal);
  transform: translateY(-1px);
}

.pw-submit-btn:active { transform: translateY(0); }

.pw-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pw-form-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--pw-text-muted);
  margin: 1.25rem 0 0 0;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--pw-cream-deep);
}

.pw-form-error {
  background: rgba(179, 58, 58, 0.08);
  border-left: 3px solid var(--pw-error);
  color: var(--pw-error);
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ======================== AGREEMENT VIEWER ======================== */
.pw-agreement-viewer {
  background: white;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 0;
  margin-bottom: 3rem;
  box-shadow: var(--pw-shadow);
  overflow: hidden;
}

.pw-agreement-viewer-header {
  background: var(--pw-cream);
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--pw-cream-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pw-agreement-viewer-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 0;
}

.pw-agreement-viewer-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--pw-text-muted);
}

.pw-agreement-viewer-body {
  max-height: 600px;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.pw-agreement-viewer-body h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 2rem 0 0.75rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--pw-rule);
}
.pw-agreement-viewer-body h1:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.pw-agreement-viewer-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pw-charcoal);
  margin: 1.25rem 0 0.5rem 0;
}

.pw-agreement-viewer-body p {
  margin: 0 0 0.85rem 0;
}

.pw-agreement-viewer-body ul,
.pw-agreement-viewer-body ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

.pw-agreement-viewer-body li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.pw-agreement-viewer-body strong {
  color: var(--pw-charcoal);
  font-weight: 600;
}

.pw-agreement-viewer-footer {
  background: var(--pw-cream);
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--pw-cream-deep);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--pw-text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ======================== PROCESS STEPS ======================== */
.pw-process {
  background: white;
  border: 1px solid var(--pw-cream-deep);
  border-radius: 6px;
  padding: 2.5rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--pw-shadow);
}

.pw-process-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--pw-charcoal);
  margin: 0 0 1.5rem 0;
}

.pw-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pw-process-step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--pw-cream);
  border-radius: 6px;
  border-left: 3px solid var(--pw-gold);
}

.pw-process-step-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--pw-gold);
  color: var(--pw-charcoal);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-process-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pw-charcoal);
  margin: 0 0 0.4rem 0;
}

.pw-process-step-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--pw-text);
  margin: 0;
}

/* ======================== STAGGERED LOAD ANIMATION ======================== */
@keyframes pw-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pw-doc-card {
  animation: pw-fade-up 0.6s ease-out backwards;
}

.pw-doc-card:nth-child(1) { animation-delay: 0.05s; }
.pw-doc-card:nth-child(2) { animation-delay: 0.15s; }
.pw-doc-card:nth-child(3) { animation-delay: 0.25s; }
.pw-doc-card:nth-child(4) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .pw-doc-card { animation: none; }
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 640px) {
  .pw-header-inner { padding: 2rem 1.25rem 1.75rem; }
  main { padding: 2.5rem 1.25rem 2rem; }
  .pw-doc-card-header { padding: 1.5rem 1.5rem 0.5rem; }
  .pw-doc-card-body { padding: 0.5rem 1.5rem 1.25rem; }
  .pw-doc-card-footer { padding: 1rem 1.5rem 1.25rem; }
  .pw-info-panel { padding: 1.5rem 1.5rem; }
  .pw-contact { padding: 2rem 1.5rem; }
  .pw-document { padding: 2rem 1.5rem; }
  .pw-form-section { padding: 1.75rem 1.5rem; }
  .pw-process { padding: 1.75rem 1.5rem; }
  .pw-doc-toc ol { columns: 1; }
  .pw-agreement-viewer-body { padding: 1.5rem 1.5rem; max-height: 500px; }
}

/* ======================== PRINT ======================== */
@media print {
  body { background: white; }
  .pw-header { background: white; color: black; border-bottom: 2px solid var(--pw-gold); }
  .pw-header::before { display: none; }
  .pw-brand-name, .pw-doc-title, .pw-tagline, .pw-doc-subtitle { color: var(--pw-charcoal); }
  .pw-back-link, footer.pw-footer, .pw-form-section, .pw-process { display: none; }
  .pw-document { box-shadow: none; border: none; padding: 0; }
  .pw-agreement-viewer-body { max-height: none; overflow: visible; }
  a { color: var(--pw-charcoal); border: none; }
}
