/* Public site and portal shell. Colour tokens (--sg-*) come from Signal.UI/signal-ui.css. */
html, body { margin: 0; background: var(--sg-bg); color: var(--sg-body); font-family: var(--sg-font); line-height: 1.55; }
h1, h2, h3 { color: var(--sg-text); font-weight: 700; line-height: 1.15; }
a { color: var(--sg-accent); }
/* FocusOnNavigate moves focus to the page heading for screen readers; it needs no visible ring. */
h1:focus { outline: none; }

/* Public site */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.site-shell > main { flex: 1; }
.site-top { background: var(--sg-bar); }
.site-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.site-bar nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-bar nav a { color: var(--sg-bar-text); text-decoration: none; }
.site-bar nav a:hover { color: #ffffff; }
.site-bar nav a.quiet { color: var(--sg-gold); font-weight: 700; }

/* Dark title band, like the deck's cover slide. Full-bleed without horizontal scroll. */
.hero { position: relative; background: #000; color: #ffffff; box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); padding: 64px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; right: -40px; width: 340px; height: 200px; background: url("_content/Signal.UI/brand/wing.png") no-repeat right top / contain; opacity: .14; pointer-events: none; }
.hero h1 { color: var(--sg-gold); font-size: clamp(2.1rem, 5.4vw, 3.4rem); margin: 0 0 18px; max-width: 18ch; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--sg-gold); margin-top: 22px; }
.hero .lead { color: #e6e6e6; }
.hero .fine { color: #999999; }
.lead { font-size: 1.2rem; max-width: 60ch; }
.eyebrow { display: block; color: var(--sg-gold-ink); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.hero .eyebrow { color: var(--sg-gold); }
.cta { display: inline-block; background: var(--sg-gold); color: var(--sg-on-gold) !important; text-decoration: none; padding: 12px 26px; border-radius: 999px; font-weight: 700; margin: 8px 0; }
.cta:hover { filter: brightness(1.06); }
.cta.small { padding: 8px 16px; font-size: .95rem; }
.fine { color: var(--sg-muted); font-size: .9rem; }

.band { padding: 48px 0 8px; }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 24px; }
.band.narrow { max-width: 640px; margin: 40px auto; padding: 28px; background: var(--sg-card); border-radius: var(--sg-radius); box-sizing: border-box; }
.band.narrow h1 { margin-top: 0; }
.band.narrow h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--sg-gold); margin-top: 10px; }

/* Numbered steps (01 / 02 / 03) as in "Send a Swyft Signal" */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--sg-gold-ink); font-weight: 700; font-size: 1.1rem; padding-bottom: 6px; margin-bottom: 10px; border-bottom: 3px solid var(--sg-gold); width: 2.2em; }
.steps li b { display: block; color: var(--sg-text); font-size: 1.25rem; margin-bottom: 4px; }

.card { background: var(--sg-card); border-radius: var(--sg-radius); padding: 24px; }
.card h3 { margin-top: 0; }
.scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.scope ul { padding-left: 18px; margin-bottom: 0; }
.icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sg-gold); color: var(--sg-on-gold); font-weight: 700; margin-bottom: 14px; }

.price { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 16px; }
@media (max-width: 640px) { .price { grid-template-columns: 1fr; } }
.price .big { font-size: 3.4rem; font-weight: 700; color: var(--sg-text); line-height: 1; }
.price .big span { font-size: 1.1rem; color: var(--sg-muted); font-weight: 400; }
.price ul { margin: 0; padding-left: 40px; }
.price li { margin: 4px 0; }
.price .tag { color: var(--sg-gold-ink); font-weight: 700; margin-top: 14px; }

.experts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.expert { background: var(--sg-card); border-radius: var(--sg-radius); padding: 24px; }
.expert h3 { margin: 0 0 4px; }
.summary { white-space: pre-wrap; font-family: inherit; background: var(--sg-bg); padding: 12px; border-radius: 10px; }
.dev-users { list-style: none; padding: 0; display: grid; gap: 8px; }

.site-foot { background: var(--sg-bar); color: #999999; margin-top: 56px; }
.site-foot .site { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.site-foot img { height: 26px; width: auto; }
.site-foot a { color: var(--sg-bar-text); }
.site-foot .spacer { flex: 1; }

/* Portal shell (bar styles shared with the desktop app in signal-ui.css) */
.portal-main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }

#blazor-error-ui { display: none; }

/* Accounts and environment */
.env-banner { background: #7a1f1f; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px 12px; letter-spacing: .02em; }
.auth-form { display: grid; gap: 4px; max-width: 420px; }
.auth-form input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--sg-border); background: var(--sg-bg); color: var(--sg-text); width: 100%; box-sizing: border-box; }
.auth-form input:focus { outline: 2px solid var(--sg-gold); outline-offset: 0; border-color: var(--sg-gold); }
button.cta { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.setup-link .sg-actions { flex-wrap: nowrap; }
.setup-link-url { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: .85rem; }
