/* OUTSYD — Content Pages (storefront presentation).
   Premium editorial layout. Uses the site theme variables when present (so it
   follows light/dark on the storefront) and falls back to the dark-luxury
   palette when loaded standalone (e.g. the Oracle preview iframe). */

.ots-cp {
  --cp-fg: var(--text, #ececec);
  --cp-muted: var(--muted, #9a9a9a);
  --cp-gold: var(--gold, #C9A84C);
  --cp-border: var(--border, #26262a);
  --cp-panel: var(--surface, #131315);
  max-width: 820px;
  margin: 0 auto;
  padding: 118px 22px 90px;
  color: var(--cp-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.ots-cp-standalone, .ots-cp-standalone { background: #0b0b0c; }

.ots-cp-title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  letter-spacing: 2px;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.02;
  margin: 0 0 6px;
  color: var(--cp-fg);
}
.ots-cp-title::after {
  content: ""; display: block; width: 54px; height: 3px;
  background: var(--cp-gold); margin: 18px 0 4px; border-radius: 2px;
}
.ots-cp-updated { color: var(--cp-muted); font-size: 12px; letter-spacing: 1px; margin-bottom: 30px; }

.ots-cp-body > :first-child { margin-top: 0; }
.ots-cp-body h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif; letter-spacing: 1.2px;
  font-size: clamp(22px, 4vw, 30px); margin: 40px 0 12px; color: var(--cp-fg);
}
.ots-cp-body h3 { font-size: 18px; font-weight: 600; margin: 26px 0 8px; color: var(--cp-fg); }
.ots-cp-body h4 { font-size: 15px; font-weight: 600; margin: 20px 0 6px; color: var(--cp-gold); letter-spacing: .3px; }
.ots-cp-body p { margin: 0 0 16px; color: var(--cp-fg); }
.ots-cp-body a { color: var(--cp-gold); text-decoration: underline; text-underline-offset: 2px; }
.ots-cp-body a:hover { opacity: .82; }
.ots-cp-body ul, .ots-cp-body ol { margin: 0 0 18px; padding-left: 22px; }
.ots-cp-body li { margin: 6px 0; }
.ots-cp-body strong { color: var(--cp-fg); font-weight: 600; }
.ots-cp-body blockquote {
  border-left: 3px solid var(--cp-gold); margin: 20px 0; padding: 6px 18px;
  color: var(--cp-muted); font-style: italic;
}
.ots-cp-body hr { border: none; border-top: 1px solid var(--cp-border); margin: 34px 0; }
.ots-cp-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; }

/* Tables — scroll horizontally on small screens instead of overflowing */
.ots-cp-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px;
  display: block; overflow-x: auto; white-space: nowrap;
}
@media (min-width: 640px) { .ots-cp-body table { display: table; white-space: normal; } }
.ots-cp-body th, .ots-cp-body td { border: 1px solid var(--cp-border); padding: 10px 14px; text-align: left; }
.ots-cp-body thead th { background: rgba(201,168,76,.08); color: var(--cp-gold); font-weight: 600; letter-spacing: .5px; }

/* Structured contact block */
.ots-cp-contact { display: grid; gap: 12px; margin: 26px 0 4px; }
@media (min-width: 560px) { .ots-cp-contact { grid-template-columns: repeat(2, 1fr); } }
.ots-cp-contact > div {
  border: 1px solid var(--cp-border); border-radius: 10px; padding: 14px 16px; background: var(--cp-panel);
}
.ots-cp-contact span { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 4px; }
.ots-cp-contact strong { color: var(--cp-fg); font-size: 15px; font-weight: 500; word-break: break-word; }
.ots-cp-contact a { color: var(--cp-gold); text-decoration: none; }

/* States */
.ots-cp-state { text-align: center; padding: 120px 22px; max-width: 520px; margin: 0 auto; }
.ots-cp-state h1 { font-family: 'Bebas Neue', 'Inter', sans-serif; letter-spacing: 2px; font-size: 40px; color: var(--cp-fg); margin: 0 0 10px; }
.ots-cp-state p { color: var(--cp-muted); margin: 0 0 22px; }
.ots-cp-state a { display: inline-block; border: 1px solid var(--cp-gold); color: var(--cp-gold); padding: 11px 26px; border-radius: 8px; text-decoration: none; letter-spacing: 1px; font-size: 12px; }

/* Draft/notice banner (admin-facing, e.g. legal drafts) */
.ots-cp-notice {
  border: 1px solid var(--cp-gold); background: rgba(201,168,76,.08); color: var(--cp-gold);
  border-radius: 10px; padding: 12px 16px; margin: 0 0 26px; font-size: 13px; letter-spacing: .3px;
}

/* Accessibility: visible focus */
.ots-cp a:focus-visible { outline: 2px solid var(--cp-gold); outline-offset: 2px; border-radius: 2px; }
