/* spectra-eft.com: the SPECTRA brand on its own domain. Loads after site.css and spectra.css.
   Header and footer carry the SPECTRA mark instead of the Th3KingDedede sigil, the nav and
   buttons use the app's quieter style (sentence case, rounded corners), and the A/B rules live here. */

@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body.spectra-brand { --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }

/* ---------- header and footer ---------- */
.spectra-brand .bar { gap: 1rem; }
.sx-brand { color: var(--text); }
.sx-brand .mark-ring { fill: var(--panel); stroke: rgb(134 169 138 / 0.42); stroke-width: 1.25; }
.sx-brand .mark-wave { fill: none; stroke: var(--flame); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-brand .brand-text b { font: 600 1.15rem var(--sans); letter-spacing: 0.22em; }
.spectra-brand .nav a { font: 500 0.95rem var(--sans); letter-spacing: 0.01em; text-transform: none; border-radius: 6px; }
.spectra-brand .nav a:hover { background: var(--panel-raised); }
.spectra-brand .nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px var(--ember); border-radius: 0; }
.spectra-brand .foot { font-family: var(--ui); }
.spectra-brand .sign { color: var(--flame); font: 600 0.85rem var(--sans); letter-spacing: 0.2em; text-transform: none; }
.spectra-brand .foot-links a { color: var(--ash); text-decoration: none; }
.spectra-brand .foot-links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- buttons: the app's style ---------- */
.spectra-brand .button, .spectra-brand .mini-button {
  min-height: 2.4rem; padding: 0.45rem 1rem; border: 1px solid var(--line-hot); border-radius: 6px;
  background: var(--panel-raised); color: var(--text); font: 500 0.95rem/1.2 var(--ui);
  letter-spacing: 0.01em; text-transform: none; transition: background .12s, border-color .12s;
}
.spectra-brand .mini-button { min-height: 2rem; padding: 0.3rem 0.7rem; font-size: 0.85rem; }
.spectra-brand .button:hover:not(:disabled), .spectra-brand .mini-button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--panel-raised) 82%, var(--text)); border-color: var(--ash);
}
.spectra-brand .button.primary { border-color: var(--ember); background: var(--ember); color: #08130d; font-weight: 600; }
.spectra-brand .button.primary:hover:not(:disabled) { border-color: var(--flame); background: var(--flame); color: #08130d; }
.spectra-brand .button.danger { border-color: rgb(224 140 140 / 0.45); background: transparent; color: #e08c8c; }
.spectra-brand .button.danger:hover:not(:disabled) { border-color: #e08c8c; background: rgb(224 140 140 / 0.1); }
.spectra-brand .button:disabled { cursor: default; opacity: 0.5; }

/* ---------- Continue with Google (Google's dark theme: #131314 fill, #8e918f stroke, #e3e3e3 text,
   Roboto Medium 14px, 40px tall, 12px side padding, 10px between the G and the words) ---------- */
.spectra-brand .g-button, .spectra-brand .g-button:hover, .spectra-brand .g-button:visited { color: #e3e3e3; }
.g-button { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
  border: 1px solid #8e918f; border-radius: 4px; background: #131314; color: #e3e3e3;
  font: 500 14px/20px "Roboto", Arial, sans-serif; letter-spacing: 0.25px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.g-button:hover { background: #1f1f20; color: #e3e3e3; }
.g-button:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }
.g-button img { display: block; width: 20px; height: 20px; }

/* ---------- A/B: control shows by default, every other variant stays hidden until ab.js picks it ---------- */
[data-ab]:not([data-ab-on]) { display: none !important; }

/* demo-first: on phones, the demo player sits above the hero text. */
@media (max-width: 40rem) {
  html[data-ab-demo-first="demo-first"] .sp { display: flex; flex-direction: column; }
  html[data-ab-demo-first="demo-first"] .sp-hero,
  html[data-ab-demo-first="demo-first"] .sp-hero > div { display: contents; }
  html[data-ab-demo-first="demo-first"] .sp-mark { order: 1; margin-bottom: 0.8rem; }
  html[data-ab-demo-first="demo-first"] .sp-hero h1 { order: 2; }
  html[data-ab-demo-first="demo-first"] .sp-tagline { order: 3; margin-bottom: 1.4rem; }
  html[data-ab-demo-first="demo-first"] .sp-demos { order: 4; margin-bottom: 0; }
  html[data-ab-demo-first="demo-first"] .sp-lede { order: 5; margin-top: 1.6rem; }
  html[data-ab-demo-first="demo-first"] .sp-cta { order: 6; margin-bottom: 3rem; }
  html[data-ab-demo-first="demo-first"] .sp-body { order: 7; }
}

/* ---------- privacy and terms ---------- */
.legal { max-width: 46rem; font-family: var(--ui); }
.legal h1 { margin: 0 0 0.4rem; font: 600 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--sans); }
.legal .legal-meta { margin: 0 0 2rem; color: var(--ash); font-size: 0.9rem; }
.legal h2 { margin: 2rem 0 0.6rem; color: var(--flame); font: 600 1.2rem/1.25 var(--sans); }
.legal p, .legal li { color: var(--text); line-height: 1.6; }
.legal li + li { margin-top: 0.35rem; }
.legal a { color: var(--flame); }
.legal .owner-words { padding: 0.8rem 1rem; border-left: 3px solid var(--ember); background: rgb(134 169 138 / 0.08); }

@media (max-width: 40rem) {
  .spectra-brand .bar { flex-wrap: wrap; gap: 0.4rem 1rem; }
  .spectra-brand .nav { margin-left: 0; width: 100%; overflow-x: auto; }
}
