/* Extracted from cancelar.html by scripts/extract-inline-styles.cjs (Phase D.5, 2026-05-29). */
/* Verbatim relocation — cascade preserved. Lets the CSP drop 'unsafe-inline' from style-src. */
:root {
  --bg: #0c0b09;
  --surface: #161513;
  --surface2: #201e1b;
  --surface3: #2a2724;
  --amber: #c9a84c;
  --amber-light: #f2efe8;
  --gold: #c9a84c;
  --text: #f2efe8;
  --text-dim: #8a8478;
  --green: #7ac07a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface3);
}
nav .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; max-width: 1100px; }
.nav-brand { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--amber); text-decoration: none; }
.nav-cta {
  background: var(--gold); color: #000;
  padding: 8px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.85rem;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero { padding: 64px 0 16px; }
.hero .badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12); color: var(--amber);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--amber-light);
}
.hero .lede {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 640px;
  font-style: italic;
}

/* Content */
main { padding-bottom: 80px; }
section.doc { padding: 16px 0; }
section.doc h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--amber-light);
  margin: 32px 0 12px;
  scroll-margin-top: 80px;
}
section.doc p { margin-bottom: 14px; color: var(--text); }
section.doc strong { color: var(--amber-light); font-weight: 600; }
section.doc a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* Status block */
.status {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}
.status .status-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.status .status-value {
  color: var(--amber-light);
  font-weight: 600;
}
.status .status-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Options grid */
.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0 32px;
}
.option {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.option h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 10px;
}
.option p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.option .opt-action {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--gold);
  color: #000;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.option .opt-action:hover { opacity: 0.88; }
.option .opt-action.secondary {
  background: transparent;
  border: 1px solid var(--amber);
  color: var(--amber);
}
.option .opt-action.secondary:hover { background: rgba(201, 168, 76, 0.08); }

@media (max-width: 800px) {
  .options { grid-template-columns: 1fr; }
  .option { min-height: 0; }
}

/* Promise block */
.promise {
  background: var(--surface2);
  border: 1px solid var(--amber);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0;
  text-align: center;
  font-size: 1rem;
}
.promise strong { color: var(--amber); }
.promise a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* Confirmation sketch */
.modal-sketch {
  background: var(--surface);
  border: 1px dashed var(--surface3);
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.modal-sketch .sketch-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--amber);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-sketch h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 10px;
}
.modal-sketch p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.modal-sketch .actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.modal-sketch .actions button {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.modal-sketch .actions .cancel-btn {
  background: var(--gold);
  color: #000;
}
.modal-sketch .actions .keep-btn {
  background: transparent;
  border: 1px solid var(--surface3);
  color: var(--text-dim);
}

/* Optional survey */
.survey {
  background: var(--surface);
  border: 1px solid var(--surface3);
  border-radius: 16px;
  padding: 28px;
  margin: 32px 0;
}
.survey .survey-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.survey h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber-light);
}
.survey .opt-tag {
  background: rgba(122, 192, 122, 0.12);
  color: var(--green);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.survey ol {
  padding-left: 22px;
  margin: 8px 0 16px;
}
.survey li {
  margin-bottom: 14px;
  color: var(--text);
}
.survey .survey-footer {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.survey .survey-footer button {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.survey .submit { background: var(--gold); color: #000; }
.survey .skip {
  background: transparent;
  border: 1px solid var(--surface3);
  color: var(--text-dim);
}

/* Footer */
footer {
  border-top: 1px solid var(--surface3);
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}
footer .links { margin-bottom: 12px; }
footer .links a { color: var(--amber); text-decoration: none; }
footer .links a:hover { text-decoration: underline; text-underline-offset: 2px; }
footer .credit a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* D.5 style-src migration — inline style="" → classes */
.modal-sketch.modal-solid { border-style: solid; max-width: 720px; }
.modal-sketch p.no-mb { margin-bottom: 0; }
