/* Sovereign AI page (site-v4): invoice beside the text, the brain's three law plates (with the Technology links),
   the "Where it runs" and "What a seal proves" statements, the field table's two-row disclosure, offers, reads; and the
   owner's PDF of 2026-10-27 (end of file): the two worlds, the four "Own it. Prove it. Grow it." cards, every scale.
   Every font-size is a type-scale token (charter 2026-10-22); headings take the shared Space Grotesk rule. */

.sov-own > .invoice { grid-column: 7 / 13; }

/* [02] the brain: three plates on the dark panel (four until Industry OS left, 2026-10-24); plates 02 and 03 end in a Technology link, pushed to the plate's
   foot so the two links sit on one line, 44px tall. Plate titles take the card-title token: at h3 size
   "Self-improving" broke at its hyphen between 1024 and 1290px (design review, 2026-10-22). */
.sov-brain__media { aspect-ratio: 16 / 11; }
.sov-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--dark-line); }
.sov-plates > li { display: flex; flex-direction: column; padding: 28px clamp(16px, 2vw, 28px) 8px; border-left: 1px solid var(--dark-line); }
.sov-plates > li:first-child { border-left: 0; padding-left: 0; }
.sov-plates__n { display: block; font-size: var(--t-small); color: var(--on-dark-3); margin-bottom: clamp(28px, 4vw, 56px); font-variant-numeric: tabular-nums; }
.sov-plates h3 { font-size: var(--t-h4); }
.sov-plates__law { margin-top: 8px; font-size: var(--t-cap); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); }
.sov-plates__text { margin-top: 14px; color: var(--on-dark-2); font-size: var(--t-body); }
.sov-plates .link { margin-top: auto; padding-top: 12px; min-height: 44px; align-self: flex-start; color: var(--on-dark); }

/* [04] what a seal proves: a ruled list of the owner's three sentences, one column, no index (they are not a sequence) */
.sov-gov { border-top: 1px solid var(--line); }
.sov-gov > li { padding-block: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.sov-gov p { font-size: var(--t-h5); line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.sov-gov__note { color: var(--ink-2); }

/* [05] the field: rows 01-02 show, rows 03-07 and the footnote sit in #cmp-more behind the button (js/sovereign-ai.js).
   The "Behind" mark is DOM text now, so the shared pseudo-element pill (proof-tables.css) is switched off here. */
.sov-field .footnote { font-size: var(--t-body); }
.cmp .is-behind th::after { content: none; }
.cmp__behind { display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1px solid var(--line-3); border-radius: 999px; font-size: var(--t-cap); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); vertical-align: 2px; }
/* the dark Yalla2x column stays one card across the two row groups: the first group's last row is rounded only when it is the end */
.cmp tbody:has(+ tbody:not([hidden])) tr:last-child .is-us { border-radius: 0; }
.cmp-toggle { margin-top: 24px; }


/* [07] insights */
.sov-reads { border-top: 1px solid var(--line); }
.sov-reads > li { border-bottom: 1px solid var(--line); }
.sov-reads a { display: grid; grid-template-columns: minmax(48px, 1fr) 5fr 4fr 44px; gap: 16px clamp(16px, 2vw, 32px); align-items: center; padding-block: clamp(24px, 3vw, 40px); }
.sov-reads__n { font-size: var(--t-small); color: var(--ink-num); font-variant-numeric: tabular-nums; }
.sov-reads p { color: var(--ink-2); font-size: var(--t-body); }

@media (max-width: 1023px) {
  .sov-own > .invoice { grid-column: 1 / -1; }
  .sov-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sov-plates > li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sov-plates > li:nth-child(n + 3) { border-top: 1px solid var(--dark-line); }
  .sov-reads a { grid-template-columns: minmax(40px, 1fr) 8fr 44px; }
  .sov-reads p { grid-column: 2; grid-row: 2; }
}
/* the table's card layout (proof-tables.css, below 900px) rules every row group's last row underneath: between two
   visible groups that rule would double the hairline */
@media (max-width: 900px) {
  .cmp tbody:has(+ tbody:not([hidden])) tr:last-child { border-bottom: 0; }
}
@media (max-width: 767px) {
  .sov-plates { grid-template-columns: 1fr; }
  .sov-plates > li, .sov-plates > li:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 0; }
  .sov-plates > li + li { border-top: 1px solid var(--dark-line); }
  .sov-plates__n { margin-bottom: 16px; }
  .sov-plates .link { margin-top: 4px; }
  .sov-reads a { grid-template-columns: 1fr 44px; }
  .sov-reads__n { display: none; }
  .sov-reads h3 { grid-column: 1; }
  .sov-reads p { grid-column: 1; grid-row: auto; }
  .sov-reads .circ { grid-column: 2; grid-row: 1; }
}

/* owner, 2026-10-24: "United Arab Emirates" whole on the tag's second line */
.sov-brain .tag { flex-wrap: wrap; }
.sov-brain__place { display: block; flex-basis: 100%; white-space: nowrap; }
/* owner, 2026-10-24: where it runs, what a seal proves and the field side by side in one section */
.sov-facts__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.sov-facts__col .h2 { margin-top: 12px; font-size: var(--t-h3); }
.sov-facts__col .lead, .sov-facts__col > p:not(.tag) { margin-top: 14px; font-size: var(--t-body); }
.sov-facts .sov-gov { margin-top: 14px; }
.sov-facts .sov-gov > li { padding-block: 10px; }
.sov-facts .sov-gov p { font-size: var(--t-body); }
.sov-facts .sov-gov__note { margin-top: 10px; }
@media (max-width: 1023px) { .sov-facts__cols { grid-template-columns: minmax(0, 1fr); } }
.section.sov-facts { padding-block: clamp(48px, 5vw, 80px); }
/* owner, 2026-10-24: the comparison table in its own section under the three columns, the shared line between them */
.section.sov-field { padding-block: clamp(48px, 5vw, 80px); }
/* owner, 2026-10-24: the grey box holds a heading and one paragraph (was the invoice rows) */
.sov-own__box { align-self: center; }
.sov-own__box h3 { font-size: var(--t-h4); line-height: 1.2; padding-bottom: 0; text-wrap: balance; }
.sov-own__box p { margin-top: 14px; color: var(--ink-2); font-size: var(--t-body); line-height: 1.55; }

/* owner's PDF, 2026-10-27 ------------------------------------------------------------------------------------------
   Two worlds. One choice.: two cards side by side, the renter's on the light panel, the owner's on Midnight (as the
   field table's Yalla2x column); each a ruled list of three lines and the PDF's last line at the card's foot. */
.sov-worlds__grid { gap: clamp(16px, 2vw, 24px); }
.sov-world { gap: 20px; }
.sov-world__list { border-top: 1px solid var(--line-2); }
.sov-world__list > li { padding-block: 14px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--t-body); }
.card--dark .sov-world__list, .card--dark .sov-world__list > li { border-color: var(--dark-line); }
.card--dark .sov-world__list > li { color: var(--on-dark-2); }
.sov-world__end { margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: var(--t-h5); letter-spacing: -0.02em; }
.card > .sov-world__end { color: var(--ink); }
.card--dark > .sov-world__end { color: var(--gold); }

/* Own it. Prove it. Grow it.: four cards; the verb is the plates' gold label (gold-ink on the light panel), the PDF's
   "What we've built" line sits at each card's foot over a hairline. Each card spans four rows of the list's grid and
   takes them as its own (subgrid), so the titles, texts and hairlines of the cards in a row start level, whatever the
   length of a title (a product's name comes from products.json) */
.sov-pillars__list { column-gap: clamp(12px, 1.4vw, 20px); row-gap: clamp(12px, 1.4vw, 20px); }
.sov-pillars__list > li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
.sov-pillars__verb { font-size: var(--t-cap); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.card > .sov-pillars__verb { color: var(--gold-ink); }
.card > .sov-pillars__built { padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--ink); font-size: var(--t-small); line-height: 1.5; }
.sov-nowrap { white-space: nowrap; }

/* One soul, at every scale: three ruled rows on the section head's columns (who | the line | the answer), then the
   closing line as a two-tone statement and the seal under it */
.sov-scale__rows > li { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: baseline; }
.sov-scale__rows .rows__n { grid-column: 1 / 4; font-size: var(--t-cap); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-num); }
.sov-scale__rows > li > div { display: contents; }
.sov-scale__rows h3 { grid-column: 4 / 9; }
.sov-scale__rows p { grid-column: 9 / 13; margin-top: 0; color: var(--gold-ink); font-size: var(--t-lead); font-weight: 500; }
.sov-close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 20px; margin-top: clamp(56px, 7vw, 104px); }
.sov-close > * { grid-column: 4 / 12; }
.sov-close .statement { font-family: var(--font-head); font-weight: 700; text-wrap: balance; }
.sov-close__soft { color: var(--ink-3); }
.sov-close__seal { color: var(--ink-2); }
@media (max-width: 1023px) {
  .sov-close > * { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .sov-scale__rows > li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .sov-scale__rows .rows__n, .sov-scale__rows h3, .sov-scale__rows p { grid-column: 1; }
}
