/* Style guide — Openfront marketing site (for-hotels.html) design reference.
   Documents styles.css's... no — documents THIS site's own styles.css (the
   marketing one, in this same folder), which is fully independent from the
   hotel guest site's public/css/styles.css and the portal's platform.css.
   This "sg-" scaffold is themed with --ds- tokens only. */
body.sg { background: var(--ds-paper); }

.sg-back { color: var(--ds-ink-soft); font-size: 0.9rem; font-weight: 500; }
.sg-back:hover { color: var(--ds-ink); }

.sg-main { padding: 40px 24px 90px; max-width: 1040px; margin: 0 auto; }
.sg-main > p.lead { color: var(--ds-ink-soft); font-size: 1.05rem; max-width: 640px; margin: 10px 0 8px; }

.sg-section { margin-top: 60px; }
.sg-section > h2 { font-size: 1.9rem; margin-bottom: 6px; }
.sg-section > .sg-sub { color: var(--ds-ink-soft); font-size: 0.95rem; margin-bottom: 22px; max-width: 640px; }
.sg-section h3 { font-size: 1.15rem; margin: 26px 0 12px; font-family: var(--ds-font-display); }

/* Swatches */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sg-swatch { background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); overflow: hidden; }
.sg-swatch .chip-color { height: 72px; display: flex; align-items: flex-end; padding: 8px 12px; }
.sg-swatch .chip-color code { font-size: 0.72rem; font-weight: 700; background: rgba(255, 255, 255, 0.85); color: var(--ds-ink); padding: 2px 7px; border-radius: 6px; }
.sg-swatch .chip-meta { padding: 10px 14px 12px; }
.sg-swatch .chip-meta strong { display: block; font-size: 0.88rem; font-family: var(--ds-font-display); }
.sg-swatch .chip-meta code { font-size: 0.74rem; color: var(--ds-indigo); }
.sg-swatch .chip-meta span { display: block; font-size: 0.8rem; color: var(--ds-ink-soft); margin-top: 3px; line-height: 1.45; }

/* Do / don't */
.sg-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sg-rule { border-radius: var(--ds-radius); padding: 14px 18px; font-size: 0.92rem; }
.sg-rule.do { background: var(--ds-success-100); color: var(--ds-success); }
.sg-rule.dont { background: var(--ds-danger-100); color: var(--ds-danger); }
.sg-rule strong { display: block; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 4px; font-family: var(--ds-font-body); }

/* Type specimens */
.sg-type { background: var(--ds-paper-alt); border-radius: var(--ds-radius); padding: 22px 26px; display: grid; gap: 18px; }
.sg-type-row { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: baseline; padding-top: 16px; }
.sg-type-row:first-child { padding-top: 0; }
.sg-type-row .spec { font-size: 0.78rem; color: var(--ds-ink-soft); line-height: 1.5; }
.sg-type-row .spec code { color: var(--ds-indigo); }
.sg-h1 { font-family: var(--ds-font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--ds-ink); }
.sg-h2 { font-family: var(--ds-font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1.2; color: var(--ds-ink); }
.sg-h3 { font-family: var(--ds-font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; color: var(--ds-ink); }
.sg-body { font-size: 1rem; line-height: 1.6; color: var(--ds-ink); }
.sg-secondary { font-size: 0.92rem; line-height: 1.6; color: var(--ds-ink-soft); }

/* Radii */
.sg-radii { display: flex; gap: 18px; flex-wrap: wrap; }
.sg-radius { background: var(--ds-paper-alt); padding: 18px; border-radius: var(--ds-radius); text-align: center; flex: 1; min-width: 150px; }
.sg-radius .shape { height: 64px; background: var(--ds-line); margin-bottom: 10px; }
.sg-radius code { font-size: 0.78rem; color: var(--ds-indigo); }
.sg-radius span { display: block; font-size: 0.8rem; color: var(--ds-ink-soft); }

/* Component demo panels */
.sg-demo { background: var(--ds-paper-alt); border-radius: var(--ds-radius); padding: 22px 26px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sg-demo.dark { background: var(--ds-ink); }
.sg-demo .note, p.note { flex-basis: 100%; font-size: 0.8rem; color: var(--ds-ink-soft); margin-top: 4px; }
.sg-demo.dark .note { color: rgba(255, 255, 255, 0.7); }

.sg-chip { font-size: 0.78rem; background: var(--ds-paper); border: 1px solid var(--ds-line); color: var(--ds-ink-soft); padding: 5px 10px; border-radius: 999px; font-weight: 500; }

.sg-fact-demo { max-width: 260px; }

.sg-table-wrap { overflow-x: auto; background: var(--ds-paper-alt); border-radius: var(--ds-radius); padding: 8px 4px; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 480px; }
.sg-table th, .sg-table td { text-align: left; padding: 10px 14px; }
.sg-table thead th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ds-ink-soft); }
.sg-table .pair { display: inline-flex; align-items: center; gap: 8px; }
.sg-table .pair i { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 0.7rem; font-weight: 700; }
.sg-pass { color: var(--ds-success); font-weight: 700; }

.sg-list { display: grid; gap: 8px; padding-left: 20px; color: var(--ds-ink); font-size: 0.95rem; }
.sg-list code { color: var(--ds-indigo); }

.sg-footer { padding: 24px 20px; text-align: center; font-size: 0.85rem; color: var(--ds-ink-soft); }
.sg-footer a { color: var(--ds-indigo); font-weight: 600; }

@media (max-width: 700px) {
  .sg-rules { grid-template-columns: 1fr; }
  .sg-type-row { grid-template-columns: 1fr; gap: 6px; }
}
