:root {
  color-scheme: dark;
  --ink: #080b0e;
  --surface: #10161b;
  --raised: #182128;
  --line: #28343d;
  --text: #f4f7ef;
  --muted: #a1ada5;
  --lime: #c9ff45;
  --sky: #79d7ff;
  --max: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -10%, rgba(201, 255, 69, .13), transparent 32rem),
    radial-gradient(circle at -10% 35%, rgba(121, 215, 255, .09), transparent 28rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--sky); }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
header { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: .16em; }
.navlinks { display: flex; flex-wrap: wrap; gap: 16px; }
.navlinks a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; }
.hero { padding: 78px 0 48px; }
.eyebrow { color: var(--lime); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 12px 0 18px; font-size: clamp(2.35rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.25rem); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 0 64px; }
.card, section { border: 1px solid var(--line); border-radius: 22px; background: rgba(16, 22, 27, .87); }
.card { display: block; min-height: 190px; padding: 24px; color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--lime); }
.card strong { display: block; margin-bottom: 8px; font-size: 1.14rem; }
.card span { color: var(--muted); }
.document { padding: 46px 0 72px; }
.document h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.meta { color: var(--muted); font-size: .9rem; }
section { margin-top: 14px; padding: 24px; }
section h2 { margin: 0 0 9px; font-size: 1.25rem; letter-spacing: -.02em; }
section h3 { margin: 20px 0 7px; font-size: 1rem; }
section p, section li { color: #c6cec8; }
section ul { padding-left: 21px; }
.callout { border-color: rgba(201,255,69,.38); background: rgba(201,255,69,.07); }
.button { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; padding: 0 18px; border-radius: 14px; background: var(--lime); color: var(--ink); text-decoration: none; font-weight: 900; }
footer { padding: 28px 0 44px; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: .82rem; }
.approval-shell { width: min(calc(100% - 28px), 720px); margin: 0 auto; padding: 42px 0 72px; }
.approval-shell h1 { font-size: clamp(2.1rem, 7vw, 4.2rem); }
.approval-state { min-height: 180px; display: grid; place-items: center; text-align: center; }
.approval-state[hidden], .approval-content[hidden] { display: none; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--lime); border-radius: 50%; animation: spin .75s linear infinite; }
.approval-content { display: grid; gap: 14px; }
.approval-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.approval-topline h2 { margin: 0; font-size: clamp(1.4rem, 5vw, 2.1rem); }
.approval-service { color: var(--muted); margin: 4px 0 0; }
.status-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--sky); font-weight: 900; font-size: .78rem; white-space: nowrap; }
.status-pill[data-status="approved"] { color: var(--lime); border-color: rgba(201,255,69,.42); }
.status-pill[data-status="changes_requested"] { color: #ff8e7a; border-color: rgba(255,142,122,.42); }
.comparison { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 7px solid var(--lime); border-radius: 26px; background: var(--surface); }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-after { clip-path: inset(0 0 0 50%); }
.comparison-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: white; box-shadow: 0 0 16px rgba(0,0,0,.55); pointer-events: none; }
.comparison-handle { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%,-50%); display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-weight: 900; pointer-events: none; }
.comparison-tag { position: absolute; top: 13px; padding: 5px 9px; border-radius: 999px; background: rgba(8,11,14,.78); color: white; font-size: .7rem; font-weight: 900; pointer-events: none; }
.comparison-tag.before { left: 13px; }
.comparison-tag.after { right: 13px; }
.comparison-slider { width: 100%; min-height: 44px; accent-color: var(--lime); }
.approval-copy { margin: 0; color: #d9dfda; white-space: pre-wrap; }
.approval-cta { margin: 0; color: var(--lime); font-weight: 900; }
.approval-form { display: grid; gap: 8px; }
.approval-form label { color: var(--text); font-size: .88rem; font-weight: 900; }
.approval-form input, .approval-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; padding: 13px; }
.approval-form textarea { min-height: 120px; resize: vertical; }
.approval-form input:focus, .approval-form textarea:focus, .comparison-slider:focus { outline: 3px solid rgba(201,255,69,.32); outline-offset: 2px; border-color: var(--lime); }
.approval-form input:disabled, .approval-form textarea:disabled { opacity: .72; }
.approval-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
button.button { justify-content: center; border: 0; margin: 0; cursor: pointer; font: inherit; }
button.button.secondary { background: var(--raised); color: var(--text); border: 1px solid var(--line); }
button.button:disabled { cursor: wait; opacity: .55; }
.approval-meta { color: var(--muted); font-size: .78rem; text-align: center; }
.approval-notice { border: 1px solid rgba(201,255,69,.38); border-radius: 16px; background: rgba(201,255,69,.07); color: var(--text); padding: 13px; font-weight: 800; }
.approval-privacy { color: var(--muted); font-size: .78rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 680px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  section { padding: 20px; }
  .approval-topline { flex-direction: column; }
  .approval-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .spinner { animation: none; border-top-color: var(--line); background: var(--lime); }
}
