/* ════════════════════════════════════════════════════════════
   OnlyPark — Legal document pages
   Dark premium · Raleway · orange gradient · numbered sections
════════════════════════════════════════════════════════════ */
:root {
  --orange:        #FC7F00;
  --orange-bright: #FF8F00;
  --orange-dark:   #B84400;
  --orange-deep:   #FF0D00;
  --orange-soft:   rgba(252,127,0,0.10);
  --orange-line:   rgba(252,127,0,0.30);
  --black:  #000000;
  --dark:   #060504;
  --mid:    #0c0a09;
  --card:   #141210;
  --card-2: #1b1815;
  --white:  #ffffff;
  --muted:  rgba(255,255,255,0.72);
  --dim:    rgba(255,255,255,0.46);
  --rule:   rgba(255,255,255,0.10);
  --rule-2: rgba(255,255,255,0.16);
  --grad:   linear-gradient(118deg, #FF8F00 0%, #FF0D00 100%);
  --sans:   'Raleway', sans-serif;
  --maxw:   880px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--white);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
*, button, input, select, textarea { font-family: var(--sans); }
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #000; }
img { display: block; }

/* ── NAV ── */
nav.legal-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 48px;
  background: rgba(0,0,0,0.82); backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid var(--rule);
}
.legal-nav .nav-brand { display: flex; align-items: center; }
.legal-nav .nav-brand img { height: 28px; width: auto; display: block; }
.legal-nav .nav-back {
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 9px; transition: color .2s, gap .2s;
}
.legal-nav .nav-back:hover { color: var(--white); gap: 12px; }
.legal-nav .nav-back .arr { color: var(--orange); font-size: 0.95rem; }

/* ── HERO ── */
.page-hero { padding: 150px 48px 76px; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -8%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,80,0,0.12) 0%, transparent 64%); pointer-events: none;
}
.page-hero-rings { position: absolute; top: 40px; right: -180px; width: 520px; height: 520px; opacity: 0.5; pointer-events: none; }
.page-hero-rings circle { fill: none; stroke: rgba(252,127,0,0.13); stroke-width: 1; }
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 26px;
}
.page-hero-label::before { content: ''; width: 24px; height: 1px; background: var(--orange); flex-shrink: 0; }
.page-hero h1 {
  font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98; margin-bottom: 36px;
}
.page-hero h1 span {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-meta { display: flex; gap: 1px; background: var(--rule); border: 1px solid var(--rule); flex-wrap: wrap; }
.meta-item { background: var(--mid); padding: 18px 26px; flex: 1; min-width: 180px; }
.meta-label { font-weight: 700; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 7px; }
.meta-value { font-size: 0.92rem; font-weight: 500; color: var(--white); letter-spacing: -0.005em; }

/* ── CONTENT ── */
.content-wrap { max-width: var(--maxw); margin: 0 auto; padding: 76px 48px 110px; }

.intro-block {
  padding: 32px 38px; background: var(--card); border: 1px solid var(--rule);
  border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; margin-bottom: 60px;
}
.intro-block p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.78); line-height: 1.85; margin-bottom: 14px; }
.intro-block p:last-child { margin-bottom: 0; }
.intro-block p strong { color: var(--white); font-weight: 600; }

.policy-section { margin-bottom: 52px; scroll-margin-top: 90px; }
.policy-section:last-of-type { margin-bottom: 0; }
.policy-num { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-dark); display: block; margin-bottom: 14px; }
.policy-section h2 {
  font-weight: 800; font-size: 1.18rem; letter-spacing: 0.005em; line-height: 1.25;
  margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--rule);
}
.policy-section p { font-size: 0.95rem; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 15px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section p strong { color: var(--white); font-weight: 600; }
.policy-section a.inline { color: var(--orange-bright); text-decoration: none; border-bottom: 1px solid var(--orange-line); }
.policy-section a.inline:hover { border-color: var(--orange); }

.policy-section ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 4px 0 18px; }
.policy-section ul li { position: relative; padding-left: 19px; font-size: 0.95rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
.policy-section ul li strong { color: var(--white); font-weight: 600; }
.policy-section ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.policy-section ul.sub { margin: 2px 0 4px 26px; }
.policy-section ul.sub li::before { background: transparent; border: 1px solid var(--orange-line); width: 5px; height: 5px; }

/* lettered clauses (a) (b) (c) */
.policy-section ul.clauses { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 6px 0 18px; }
.policy-section ul.clauses > li {
  display: block; position: relative; padding-left: 34px;
  font-size: 0.95rem; font-weight: 300; color: var(--muted); line-height: 1.72;
}
.policy-section ul.clauses > li::before { content: none; display: none; }
.policy-section ul.clauses > li .cl-mark { position: absolute; left: 0; top: 1px; font-weight: 700; font-size: 0.82rem; color: var(--orange); }
.policy-section ul.clauses > li strong { color: var(--white); font-weight: 600; }
.policy-section ul.clauses ul.sub { margin: 10px 0 2px; }

.statement-block {
  margin: 6px 0 20px; padding: 18px 24px; background: var(--orange-soft);
  border-left: 2px solid var(--orange); border-radius: 0 6px 6px 0;
  font-size: 1rem; color: var(--white); font-weight: 500; line-height: 1.6;
}

/* fee table for liquidated damages */
.fee-list { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin: 8px 0 18px; }
.fee-item { background: var(--card); display: grid; grid-template-columns: 132px 1fr; gap: 22px; padding: 22px 26px; align-items: start; transition: background .25s; }
.fee-item:hover { background: var(--card-2); }
.fee-amount { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; }
.fee-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.fee-desc ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; }
.fee-desc ul li { position: relative; padding-left: 15px; }
.fee-desc ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

/* escalation grid (post-14-day) */
.esc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin: 8px 0 18px; }
.esc-cell { background: var(--card); padding: 22px 24px; }
.esc-from { font-size: 0.78rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 8px; }
.esc-row { display: flex; align-items: baseline; gap: 10px; }
.esc-a { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.esc-arrow { color: var(--orange); font-weight: 700; }
.esc-b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* contact block */
.contact-block { margin-top: 68px; padding: 40px; background: radial-gradient(700px 300px at 0% 0%, rgba(255,80,0,0.08), transparent 70%), var(--card); border: 1px solid var(--orange-line); border-radius: 10px; }
.contact-block h3 { font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.contact-block p { font-size: 0.94rem; font-weight: 300; color: var(--muted); line-height: 1.8; margin-bottom: 22px; }
.contact-block-details { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.contact-row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 16px 22px; background: var(--mid); font-size: 0.9rem; align-items: center; }
.contact-row-label { font-weight: 700; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.contact-row-value { font-weight: 400; color: var(--white); }
.contact-row-value a { color: var(--orange-bright); }
.contact-row-value a:hover { text-decoration: underline; }

/* cross-links to other legal docs */
.related { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.related a {
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); padding: 12px 20px; border: 1px solid var(--rule-2); border-radius: 8px;
  transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: 9px;
}
.related a:hover { border-color: var(--orange-line); background: var(--orange-soft); }
.related a .arr { color: var(--orange); }

/* ── FOOTER ── */
footer.legal-footer {
  border-top: 1px solid var(--rule); padding: 40px 48px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.legal-footer .footer-left img { height: 28px; width: auto; display: block; }
.legal-footer .footer-right { text-align: right; }
.legal-footer .footer-email { font-size: 0.84rem; color: var(--muted); display: block; margin-bottom: 5px; }
.legal-footer .footer-email:hover { color: var(--orange); }
.legal-footer .footer-copy { font-size: 0.74rem; color: var(--dim); letter-spacing: 0.02em; }

@media (max-width: 768px) {
  nav.legal-nav { padding: 0 22px; }
  .page-hero { padding: 116px 22px 56px; }
  .content-wrap { padding: 56px 22px 80px; }
  .page-hero-meta { flex-direction: column; }
  .fee-item { grid-template-columns: 1fr; gap: 8px; }
  .esc-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .policy-section ul.clauses > li { padding-left: 30px; }
  footer.legal-footer { padding: 32px 22px; flex-direction: column; align-items: flex-start; }
  .legal-footer .footer-right { text-align: left; }
}
