/* Shared styles for Amorine legal documents (privacy, offer, consent).
   Dark-romantic palette from the Mini App, tuned for long-form reading. */
:root {
  --night-950: #120b16;
  --night-900: #191021;
  --night-800: #231631;
  --night-700: #31203f;
  --rose: #fb7185;
  --fuchsia: #e879f9;
  --text: #ece4f0;
  --muted: #b9a8c4;
  --border: #31203f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--night-950);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

.doc { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }

.topbar { padding: 8px 0 28px; }
.topbar a { color: var(--muted); font-size: 14px; }
.topbar a::before { content: "← "; }

.doc-title { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.meta {
  margin: 14px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.meta .ver {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-right: 8px;
}

.lead {
  margin: 20px 0 8px;
  color: var(--muted);
}

/* Placeholder to be filled before publication — visually loud on purpose. */
.fill {
  background: rgba(232, 121, 249, 0.14);
  border-bottom: 1px dashed var(--fuchsia);
  padding: 0 4px;
  border-radius: 3px;
  color: #f5d0fb;
  font-style: normal;
}

/* An editorial note to the owner, stripped before publication. */
.note {
  border-left: 3px solid var(--fuchsia);
  background: rgba(232, 121, 249, 0.07);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--muted);
}
.note b { color: var(--text); }

h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-top: 8px;
  color: #fff;
}
h2 .n { color: var(--rose); margin-right: 8px; }
h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }

p { margin: 10px 0; }
ul, ol { margin: 10px 0 10px 22px; }
li { margin: 6px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--night-800); font-weight: 600; }

.foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
