/* TOA visual language — tech depth (web) · v1.10 · 27 Nov 2026
   Needs 26_Design_Tokens/toa-tokens.css first. The tech layer is ONE continuous DataTrace
   tile behind the whole page (public, account, admin, sign-in, error pages), from under the
   header to the footer — the page sets `.toa-page`; product section backgrounds stay transparent.
   Page surface = --toa-surface-sunken (#F2F3EF). The pattern is the official plain DataTrace
   tile (10_Backgrounds_Patterns) at 0.6 of its own opacity (dots 6%, lines 4–8%). No gradients,
   no corner glows. The dark green hero keeps `.toa-tech` (the brand moment). */

.toa-page {
  position: relative;
  min-height: 100%;
  background: var(--toa-surface-sunken, #F2F3EF);
  color: var(--toa-text-primary, #1F2A27);
}
.toa-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../10_Backgrounds_Patterns/TOA-Pattern_DataTrace_Tile-320.svg") 0 0 / 320px 320px;
  opacity: 0.6;
}
.toa-page > * { position: relative; z-index: 1; }

/* Dark green hero / footer: the brand moment, on the gold DataTrace over deep green. */
.toa-tech {
  position: relative;
  overflow: hidden;
  color: var(--toa-brand-ivory, #FCF9F2);
  background:
    url("../10_Backgrounds_Patterns/TOA-Pattern_DataTrace_Gold-on-Green_Tile-320.svg") 0 0 / 320px 320px,
    radial-gradient(900px 520px at 78% -8%, var(--toa-green-800, #044C3A) 0%, rgba(8, 42, 32, 0) 60%),
    linear-gradient(180deg, var(--toa-brand-ui-green, #0D3B2E) 0%, var(--toa-void-2, #082A20) 100%);
}
.toa-tech > * { position: relative; z-index: 1; }

/* Light tech surface (optional): same DataTrace, sunken page colour. */
.toa-tech--ivory {
  background:
    url("../10_Backgrounds_Patterns/TOA-Pattern_DataTrace_Tile-320.svg") 0 0 / 320px 320px,
    var(--toa-surface-sunken, #F2F3EF);
  color: var(--toa-text-primary, #1F2A27);
}
