/* The public pages — landing, privacy, terms. Loaded after palette.css, so every
   colour here is a palette token. Two jobs only: the site footer (who runs this,
   how to reach them, the legal links and the trademark line) and long-form legal
   text. Nothing in the signed-in app reads this file. */

/* Header and footer are Intelus's dark navy in both themes with white type. The
   SuperOffice™ wordmark is always "Super" white + "Office" gold on that navy
   (Amit, 2026-10-19), so it only ever sits on these navy grounds. */
:root { --intelus-navy: #071425; --intelus-rule: #3f5a82; --intelus-edge: #3f5a82; --intelus-dim: #b7bdc7; --so-word-gold: #c5a55a; }

.so-mark { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap;
  font: 700 17px/1.2 var(--so-font); letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.so-mark img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 2px var(--intelus-edge); }
.so-mark em { font-style: normal; color: var(--so-word-gold); }
.so-mark sup { font-size: .5em; font-weight: 600; color: #fff; margin-left: 1px; vertical-align: super; line-height: 0; }

.site-top { background: var(--intelus-navy); border-bottom: 1px solid var(--intelus-edge); padding: 14px 20px; }
.site-top-in { max-width: 1040px; margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.site-top .rule { width: 1px; height: 28px; flex: none; background: var(--intelus-edge); }
.so-by { text-decoration: none; line-height: 1.25; display: inline-block; padding-block: 4px; }
.so-by span { font-size: 12px; font-weight: 600; color: var(--intelus-dim); }
.so-by b { font: 700 15px/1.25 var(--so-font); color: #fff; }
.site-top a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 420px) { .so-by span { display: block; } }

/* Footer (27 Oct, Amit: "the blue lines … the visit link … trademark copy all on the left … contact
   missing icons"). Brand + tagline + a real "Visit" button, three columns (product, contact with icons,
   company/legal), one faint divider, then copyright and trademark centred. No blue rules. */
.site-foot { margin-top: 48px; padding: 56px 20px 32px; background: var(--intelus-navy); color: rgba(255,255,255,.78); font-size: 14px; }
.foot-in { max-width: 1040px; margin-inline: auto; }
.land > .site-foot { max-width: none; width: auto; margin-inline: -20px; }
.land > .built + .site-foot { margin-top: 0; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.foot-grid { display: grid; gap: 36px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, .9fr); } }
.foot-brand { display: grid; justify-items: start; gap: 12px; }
.foot-brand .so-mark { font-size: 20px; }
.foot-brand .so-mark img { width: 40px; height: 40px; border-radius: 10px; }
.foot-tag { margin: 4px 0 0; font-weight: 700; font-size: 15px; color: #fff; }
.foot-say { margin: 0; max-width: 36ch; font-size: 14px; line-height: 1.6; }
.foot-visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-weight: 600; font-size: 14px; transition: background-color .15s, border-color .15s; }
.foot-visit:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.foot-col h2 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--so-gold-400, #c5a55a); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col li > a, .foot-row { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: rgba(255,255,255,.85); }
.foot-col li > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-contact svg { width: 18px; height: 18px; flex: none; color: var(--so-gold-400, #c5a55a); }
.foot-contact span { overflow-wrap: anywhere; }
.foot-gst { min-height: 36px; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-size: 13px; }
.foot-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; display: grid; justify-items: center; gap: 10px; }
.foot-base p { margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.foot-base .foot-tm { max-width: 78ch; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.5); text-wrap: pretty; }

/* ---- legal pages ------------------------------------------------------- */

.legal > :not(.site-top):not(.site-foot) { padding-inline: 20px; }
.legal > .site-foot { width: auto; margin-inline: 0; }
.legal { margin: 0; }
.legal-top { max-width: 1040px; margin-inline: auto; padding-block: 22px; }
.legal article { max-width: 70ch; margin: 24px auto 64px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 17px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 4px; }
.legal address { font-style: normal; }
.legal article a { color: var(--color-accent-deep); }

/* The legal pages' long-form type must not reach into the footer. */

/* Theme switch in the header. */
.theme-tg { margin-left: auto; flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--intelus-edge); background: transparent; color: #fff; cursor: pointer;
  transition: background .14s, border-color .14s; }
.theme-tg:hover { background: #24406a; border-color: var(--so-word-gold); }
.theme-tg:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.theme-tg .i-sun { display: none; }
[data-theme="dark"] .theme-tg .i-sun { display: block; } [data-theme="dark"] .theme-tg .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-tg .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-tg .i-moon { display: none; }
}

/* Dark mode on the public pages is ONE dark navy (Amit, 2026-10-19): the page,
   the team band and the footer share it, separated by hairlines, not shades. */
[data-theme="dark"] body { background: var(--intelus-navy);
  --card: #0d1f38; --line: #3f5a82; --line-2: #3f5a82; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { background: var(--intelus-navy);
    --card: #0d1f38; --line: #3f5a82; --line-2: #3f5a82; }
}

/* The tagline under the wordmark (Amit, 19 Oct 2026) */
.so-wm { display: flex; flex-direction: column; gap: 2px; }
.so-tag { font: 500 11.5px/1.2 var(--so-font); letter-spacing: 0; color: var(--intelus-dim); }
@media (max-width: 600px) { .site-top .so-tag { white-space: normal; max-width: 140px; font-size: 10.5px; } .site-top-in { gap: 12px; } }

/* r36: the way in, on every public page (critic: the bar had no action but the theme switch). */
.top-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.top-cta + .theme-tg { margin-left: 0; }
.top-in { color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; padding: 10px 2px; }
.top-in:hover { text-decoration: underline; text-underline-offset: 4px; }
.top-trial { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.top-trial .sm { display: none; }
/* r39 (Amit, 26 Oct): on a phone the bar carries the brand and "Powered by Intelus" only; the
   trial lives in the hero and the sticky button at the foot of the screen. */
@media (max-width: 640px) { .site-top .top-cta, .site-top .rule { display: none; } .site-top .so-by { margin-left: auto; text-align: right; } .site-top .so-by span { display: block; } }
.foot-tag { display: block; color: #fff; font-weight: 700; margin-bottom: 4px; }
@media (max-width: 400px) { .site-top .so-tag { display: none; } .site-top-in { gap: 10px; } }
