/* DMO Sign (public/dmosign.html): the same design tokens as DMO Business Tools
   (public/styles.css), plus the DMO Sign wordmark and the public landing page. */

.ds-brand { align-items: center; }
/* The DMO wordmark: "DMO" + a SIGN pill, as in the app sidebar, the sign-in page and dmosuite.com. */
.ds-brand-sub {
  font-family: var(--font-text); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.2; white-space: nowrap; border-radius: 999px; padding: 0.3rem 0.75rem; background: var(--brand-soft); color: var(--brand-deep);
}

/* Signed-out pages (landing, pricing, security, legal): plum header like dmosuite.com. Signed in, the app shell
   (styles.css "DMO look") takes over. */
body:not(.app-shell) .site-header { background: var(--side); color: var(--side-ink); --focus: #f0b400; }
body:not(.app-shell) .site-header .brand, body:not(.app-shell) .site-header .brand:hover { color: var(--side-ink); }
body:not(.app-shell) .site-header .brand-name { font-weight: 600; }
body:not(.app-shell) .site-header .ds-brand-sub { background: var(--side-active); color: var(--side-ink); }
.ds-public-nav { display: flex; align-items: center; gap: 10px; }
.ds-public-nav[hidden] { display: none; }
.ds-public-nav > a:not(.btn) { color: var(--side-muted); font-weight: 550; text-decoration: none; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
.ds-public-nav > a:not(.btn):hover { color: var(--side-ink); background: var(--side-2); }
.ds-public-nav .btn-secondary { background: transparent; color: var(--side-ink); box-shadow: none; }
.ds-public-nav .btn-secondary:hover { background: var(--side-2); color: #fff; }
.ds-public-nav .btn-primary { background: var(--side-ink); color: var(--side); }
.ds-public-nav .btn-primary:hover { background: #fff; color: var(--side); }

/* Light buttons for plum panels */
.btn-light { background: var(--side-ink); color: var(--side); }
.btn-light:hover { background: #fff; color: var(--side); }
.btn-outline-light { background: transparent; color: var(--side-ink); box-shadow: inset 0 0 0 1.5px rgba(241, 236, 250, 0.55); }
.btn-outline-light:hover { background: var(--side-2); color: #fff; }

/* Quiet footer on every page, as on dmosuite.com */
.site-footer { background: transparent; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .footer-line { color: var(--ink); font-size: 1.05rem; }
.site-footer .footer-name, .site-footer a { color: var(--muted); }

/* ---------- landing (shared pieces) ----------
   The landing page sections live in public/ds-landing/. What stays here is still used by the API pages
   (public/api-plans.js, public/api-docs.html): the plum hero, numbered steps, and the eyebrow/accent/suite bits. */
/* Full-width plum band without widening the page: the colour is painted outside the box and clipped to the sides. */
.ds-hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
  padding: 2.5rem 0 4rem; background: var(--side); color: var(--side-ink);
  box-shadow: 0 0 0 100vmax var(--side); clip-path: inset(0 -100vmax); --focus: #f0b400;
}
.ds-hero :focus-visible { outline-color: #f0b400; }
.ds-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; margin: 0.4rem 0 1rem; color: var(--side-ink); font-weight: 600; }
.ds-hero .lead { font-size: 1.2rem; color: var(--side-muted); }
.ds-hero .actions { margin-top: 1.75rem; }
.ds-hero .hint, .ds-hero .ds-suite { color: var(--side-muted); }
.ds-hero a:not(.btn) { color: var(--side-ink); }
.ds-suite { margin: 0.4rem 0 0; font-size: 0.95rem; }
.ds-accent { color: #c9b6f5; }
.ds-eyebrow { display: inline-block; color: var(--side-muted); background: var(--side-2); border-radius: 999px; padding: 0.35rem 0.85rem; letter-spacing: 0.08em; }

/* The hero's decorative glow (ds-hero-demo.css) can extend a few px past the page edge at tablet widths. */
.dsl-hero { overflow-x: clip; }

.ds-section { padding: 3rem 0; border-top: 1px solid var(--line); }
.ds-hero + .ds-section { border-top: 0; }
.ds-section > h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 1.4rem; }

.ds-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ds-step { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 1.6rem; box-shadow: var(--shadow-card); }
.ds-step h3 { margin: 0.9rem 0 0.4rem; font-size: 1.25rem; }
.ds-step p { margin: 0; color: var(--muted); }
.ds-step-n {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--side); color: var(--side-ink); font-weight: 700; font-size: 1.05rem;
}

@media (max-width: 860px) {
  .ds-hero { grid-template-columns: 1fr; padding-top: 1.25rem; padding-bottom: 3rem; }
  .ds-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ds-public-nav { gap: 6px; }
  .ds-hero .actions .btn { width: 100%; }
}

/* ---------- security and accessibility pages (public/dmosign-trust.js) ---------- */
.ds-trust-section { max-width: 46rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.ds-trust-section h2 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.ds-trust-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.ds-trust-list li { line-height: 1.55; }
.ds-trust-not { background: var(--surface-2); border-radius: var(--radius); padding: 1.1rem 1.25rem; border-top: 0; margin-top: 1rem; }
.ds-trust-not p { margin: 0; }

/* While the first page is still "Loading…", hold the viewport so the footer does not start on screen and then jump
   below the content (a layout shift on every signed-out page load). */
main:has(> .loading:only-child) { min-height: 100vh; }
