/* Sovereignty (2026-09-22): the founder's mockup. The hero artwork is the whole background layer and the copy sits
   over its open left half; below it, alternating cream / lake / dark bands, each with an anchor. Colours from
   styles.css; linework in the design's #17384b. */

.sov-hero { padding: 8px 0 0; }
.sov-hero-grid { position: relative; }
.sov-hero-art { display: block; margin: 0; }
.sov-hero-art img { display: block; width: 100%; height: auto; border-radius: 4px; }
.sov-hero-copy { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 46%; z-index: 1; padding-left: 4%; }
.sov-hero-copy h1 { font-size: clamp(30px, 3.6vw, 60px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -.02em; }
.sov-hero-copy .sub { font-size: clamp(15px, 1.35vw, 22px); margin: 0 0 12px; max-width: 34ch; }
.sov-alt { font-family: var(--sans); font-size: clamp(13px, 1vw, 16px); color: var(--ink-soft); margin: 0 0 22px; }
.sov-hero-copy .ctas { margin: 0; gap: 12px; }
.sov-hero-copy .btn { font-size: clamp(15px, 1.2vw, 19px); padding: 10px 20px; }

/* three facts */
.sov-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 34px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sov-facts > div { display: flex; gap: 20px; align-items: flex-start; padding: 28px 32px 28px 0; }
.sov-facts > div + div { border-left: 1px solid var(--rule); padding-left: 32px; }
.sov-facts img { flex: none; width: 44px; height: auto; margin-top: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.sov-facts .eyebrow { margin: 0 0 4px; font-size: 10.5px; color: var(--muted); }
.sov-facts h3 { font-size: 24px; margin: 0 0 6px; }
.sov-facts p:last-child { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }

/* section rhythm */
main h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 14px; line-height: 1.04; max-width: none; }
.sov-lede { font-family: var(--sans); font-size: 17px; color: var(--ink-soft); margin: 0 0 24px; }
.sov-fine { margin: 14px 0 0; font-size: 14px; }
.sov-link { display: inline-block; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--accent-deep); margin-top: 6px; }
.sov-link:hover { text-decoration: underline; }
.sov-lake { background: var(--lake); padding: 64px 0; }
.sov-dark { background: var(--night); color: var(--bg); padding: 64px 0; }
.sov-dark h2 { color: #fff; }
.sov-dark p { color: #c9d1d6; }

/* where your data lives */
.sov-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 72px 60px; }
.sov-resilience { display: flex; gap: 20px; align-items: flex-start; border: 1px solid #f1d9a8; background: #fdf6e6; border-radius: 10px; padding: 22px 24px; }
.sov-resilience svg { flex: none; width: 52px; height: 52px; color: #17384b; }
.sov-resilience h3 { font-size: 22px; margin: 0 0 6px; }
.sov-resilience p { margin: 0 0 8px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.sov-table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; font-size: 15.5px; background: #fff; }
.sov-table th, .sov-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.sov-table th { font-family: var(--sans); font-weight: 600; font-size: 14px; background: var(--bg-soft); color: var(--ink); }
.sov-table td + td { border-left: 1px solid var(--rule); }
.sov-table th + th { border-left: 1px solid var(--rule); }
.sov-table tr:last-child td { border-bottom: 0; }
.sov-table td img { vertical-align: -2px; margin-right: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.sov-where .sov-table { margin-top: 30px; }

/* jurisdiction */
.sov-juris { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.sov-juris p { font-size: 17px; color: var(--ink-soft); margin: 0 0 12px; max-width: 52ch; }
.sov-doc { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 36px; align-items: center; color: #17384b; }
.sov-doc svg { width: 100%; max-width: 260px; height: auto; justify-self: end; }
.sov-doc figcaption { display: grid; gap: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; }
.sov-doc figcaption span { position: relative; padding-top: 10px; }
.sov-doc figcaption span::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 1px; background: var(--ink); }

/* SEAL-4 */
.sov-seal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 64px; }
.sov-seal > div:first-child { border-right: 1px solid var(--rule); padding-right: 40px; }
.sov-seal p { font-size: 17px; color: var(--ink-soft); margin: 0 0 12px; max-width: 44ch; }
.sov-seal-card .pill { background: var(--action); }
.sov-seal .sov-seal-name { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.02em; line-height: 1; margin: 14px 0 2px; color: var(--ink); }
.sov-seal .sov-seal-sub { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 0 12px; }
.sov-seal-card p:last-child { font-size: 15px; }

/* self-hosting */
.sov-run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sov-run > div:first-child { border-right: 1px solid #3d474d; padding-right: 40px; }
.sov-run p { font-size: 17px; margin: 0; max-width: 42ch; }
.sov-run-opts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: center; font-family: var(--sans); font-size: 15px; color: #fff; }
.sov-run-opts svg { display: block; width: 48px; height: 48px; margin: 0 auto 10px; color: #fff; }
.sov-run-note { font-size: 14px; color: #9aa5ac; margin: 0 0 18px; }
.sov-dark .sov-run-note { color: #b9c3c7; max-width: none; }

/* improving */
.sov-improve { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; padding-block: 64px; }
.sov-improve-table td:first-child { font-weight: 600; font-family: var(--sans); font-size: 15px; white-space: nowrap; }
.sov-improve-table td:nth-child(2) { white-space: nowrap; }
.sov-improve-table td:last-child { color: var(--ink-soft); font-size: 14.5px; }
.sov-status { display: inline-block; font-family: var(--sans); font-size: 12.5px; font-weight: 500; padding: 4px 12px; border-radius: 4px; background: #fbeab1; color: #5b4a12; }
.sov-ledger { margin-top: 26px; border-top: 1px solid var(--rule); }
.sov-ledger summary { cursor: pointer; padding: 14px 0; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }
.sov-ledger p { font-size: 15px; color: var(--ink-soft); margin: 0 0 14px; }
.sov-ledger table.plain { font-size: 14px; }
.sov-ledger table.plain td:first-child { font-size: 16px; white-space: normal; }

/* take your data */
.sov-take { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sov-take p { font-size: 17px; color: var(--ink-soft); margin: 0; max-width: 46ch; }
.sov-take a { color: var(--accent-deep); border-bottom: 1px solid var(--accent-deep); }
.sov-formats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sov-formats li { display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: 16px; line-height: 1.35; color: var(--ink); padding: 0 28px; }
.sov-formats li + li { border-left: 1px solid #b9d7e4; }
.sov-formats svg { flex: none; width: 44px; height: 44px; color: #17384b; }

/* closing */
.sov-close { text-align: center; padding-block: 72px 0; }
.sov-close h2 { margin-bottom: 26px; }
.sov-close .ctas { justify-content: center; margin-bottom: 14px; }
.sov-close .fine a { border-bottom: 1px solid var(--rule); }

@media (max-width: 1000px) {
  .sov-hero-copy h1 { font-size: clamp(26px, 3.4vw, 40px); }
  .sov-hero-copy .ctas .btn { font-size: 15px; padding: 8px 16px; }
}
@media (max-width: 900px) {
  .sov-where, .sov-juris, .sov-seal, .sov-run, .sov-improve, .sov-take { grid-template-columns: 1fr; gap: 32px; }
  .sov-seal > div:first-child, .sov-run > div:first-child { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
  .sov-run > div:first-child { border-bottom-color: #3d474d; }
  .sov-facts { grid-template-columns: 1fr; }
  .sov-facts > div { padding: 20px 0; }
  .sov-facts > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .sov-doc { grid-template-columns: 1fr; justify-items: start; }
  .sov-doc svg { justify-self: start; max-width: 200px; }
  .sov-doc figcaption { grid-auto-flow: column; gap: 28px; }
  .sov-doc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* copy above the artwork, the artwork cropped to its right half */
  .sov-hero-copy { position: static; transform: none; width: auto; padding: 24px 0 26px; }
  .sov-hero-copy h1 { font-size: clamp(34px, 9vw, 44px); }
  .sov-hero-copy .sub { font-size: 19px; }
  .sov-alt { font-size: 15px; }
  .sov-hero-art { overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 2; }
  .sov-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
  .sov-formats { grid-template-columns: 1fr; gap: 18px; }
  .sov-formats li { padding: 0; }
  .sov-formats li + li { border-left: 0; }
  .sov-run-opts { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .sov-run-opts li { display: flex; align-items: center; gap: 14px; }
  .sov-run-opts svg { margin: 0; width: 36px; height: 36px; }
}
