/* sov.solibra.ai: white page, ink type, hairline frame. After the hero the page sits in a frame: two vertical rules at the
   content edges, a full-width rule over every section, a small cross where they meet. Product shots float on film photographs. */
@font-face { font-family: "ABC Diatype"; src: url(ABCDiatypeVariable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff; --ink: #141414; --ink-2: #3a3a3a; --muted: #6b6b6b; --dim: #a3a3a3; --line: #e7e7e7; --line-2: #efefef;
  --card: #ffffff; --night: #141414;
  --sans: "ABC Diatype", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --w: 1200px; --pad: 56px; --side: 24px;
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23c2c2c2'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
* { scrollbar-width: none; }   /* everything scrolls; no scrollbars on show */
*::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
.dim { color: var(--dim); }
.wide { max-width: var(--w); margin-left: auto; margin-right: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 transparent; transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 44px; max-width: calc(var(--w) + 2 * var(--side)); height: 64px; margin: 0 auto; padding: 0 var(--side); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.mark { width: 22px; height: 22px; flex: none; background: var(--ink); -webkit-mask: url(logo.png) center / contain no-repeat; mask: url(logo.png) center / contain no-repeat; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a { transition: color .15s; } .links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px;
  font-weight: 500; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.btn.dark { background: var(--ink); color: #fff; } .btn.dark:hover { background: #2b2b2b; }
.btn.ghost { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .btn.ghost:hover { background: #f6f6f6; }
.btn.lg { height: 46px; padding: 0 24px; font-size: 15px; }

/* hero: outside the frame, its shot lines up with the frame below */
.hero { padding-top: 104px; }
.hero-in { padding: 0 var(--pad); }
h1 { max-width: 820px; font-size: 68px; line-height: 1.02; font-weight: 500; letter-spacing: -.038em; }
.lede { max-width: 590px; margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--muted); letter-spacing: -.005em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-shot { margin-top: 72px; padding: 64px 64px 0; border-radius: 14px 14px 0 0; overflow: hidden; }
.hero-shot img { border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 40px 80px -30px rgba(10, 20, 30, .45); }

/* photographs behind the product shots: abstract film photographs, the camera moving (demo/art.py) */
.photo { position: relative; background: #e6eaec center / cover no-repeat; }
.photo img { position: relative; z-index: 1; }

/* the frame */
.band { border-top: 1px solid var(--line); }
.frame { position: relative; box-shadow: -1px 0 0 var(--line), 1px 0 0 var(--line); }
.frame::before, .frame::after { content: ""; position: absolute; top: -6px; width: 11px; height: 11px; background: var(--cross); }
.frame::before { left: -6px; } .frame::after { right: -6px; }
.pad { padding: 112px var(--pad); }
h2 { max-width: 780px; font-size: 46px; line-height: 1.06; font-weight: 500; letter-spacing: -.032em; }
.label, .num { font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* labs */
.strip { display: grid; grid-template-columns: 236px 1fr; align-items: stretch; }
.strip .label { display: flex; align-items: center; padding: 0 var(--pad); }
.labs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); padding: 0; list-style: none; }
.labs li { display: grid; place-items: center; height: 96px; box-shadow: -1px 0 0 var(--line-2); font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: #8a8a8a; }

/* features: shot on top, caption below */
.grid { display: grid; gap: 24px; margin-top: 64px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.shot { overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 11; }
.g3 .shot { aspect-ratio: 1; }
.shot img { border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 24px 48px -20px rgba(10, 20, 30, .35); }
.corner img { position: absolute; top: 11%; left: 8%; width: 132%; max-width: none; }
.center img { position: absolute; top: 10%; left: 50%; width: 76%; transform: translateX(-50%); }
.center.roomy img { top: 12%; width: 88%; }
.corner.mid img { top: 50%; width: 124%; transform: translateY(-50%); }
.g3 .corner img { width: 150%; }
figcaption { padding: 24px 2px 4px; }
figcaption h3, .step h3, .setup h3 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
figcaption p, .setup p { max-width: 480px; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* numbered rows, alternating sides */
.steps { display: grid; gap: 104px; margin-top: 88px; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.step.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step.flip .step-text { order: 2; }
.step .num { display: block; margin-bottom: 18px; }
.step h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.step p { max-width: 400px; margin-top: 12px; font-size: 16px; color: var(--muted); }
.step .shot { aspect-ratio: 16 / 10; }

/* how it learns: the setup grid's language, under a small label */
.learn-h { margin-top: 88px; }
.learn { margin-top: 20px; }

/* setup */
.setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; padding: 0; list-style: none; box-shadow: 0 -1px 0 var(--line-2); }
.setup li { padding: 32px 32px 8px 0; }
.setup li + li { padding-left: 32px; box-shadow: -1px 0 0 var(--line-2); }
.setup .num { display: block; margin-bottom: 20px; }
.code { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 48px; overflow: hidden; border-radius: 12px;
  background: #2a2a2a; box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .45); }
.pane { min-width: 0; background: var(--night); }
.pane-h { padding: 14px 24px; font: 500 12px/1 var(--mono); color: #8a8a8a; box-shadow: 0 1px 0 #2a2a2a; }
pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); color: #ececec; }
pre .c { color: #777; } pre .s { color: #e8b98f; }

/* security */
.sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.sec h2 { font-size: 40px; }
.aside { max-width: 340px; margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding: 0; list-style: none; }
.checks li { position: relative; padding: 20px 0 20px 30px; box-shadow: 0 -1px 0 var(--line-2); font-size: 15px; line-height: 1.5; color: var(--muted); }
.checks li::before { content: ""; position: absolute; top: 23px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M4.8 8.2l2.1 2.1 4.3-4.6' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks b { display: block; margin-bottom: 2px; font-weight: 500; color: var(--ink); }

/* closing call and footer */
.end { padding-top: 152px; padding-bottom: 152px; text-align: center; }
.end h2 { margin: 0 auto; font-size: 54px; }
.end .ctas { justify-content: center; margin-top: 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px var(--pad) 64px; }
.foot .brand { font-size: 15px; }
.foot small { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--dim); }
.foot nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }

/* narrower screens: the frame keeps a gutter, columns fold */
@media (max-width: 1260px) { .wide { margin-left: var(--side); margin-right: var(--side); } }
@media (max-width: 1040px) {
  :root { --pad: 40px; }
  h1 { font-size: 56px; } h2 { font-size: 40px; }
  .links { display: none; }
  .labs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .labs li:nth-child(n + 5) { box-shadow: -1px 0 0 var(--line-2), 0 -1px 0 var(--line-2); }
  .step, .step.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; } .step.flip .step-text { order: 0; }
  .sec { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-shot { padding: 40px 40px 0; }
}
@media (max-width: 860px) { .g3 { grid-template-columns: minmax(0, 1fr); } .g3 .shot { aspect-ratio: 16 / 11; } }
@media (max-width: 720px) {
  :root { --pad: 20px; --side: 16px; }
  .nav-in { gap: 16px; } .nav-cta .ghost { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: 40px; letter-spacing: -.034em; } .lede { font-size: 17px; }
  h2, .sec h2 { font-size: 32px; } .end h2 { font-size: 36px; }
  .hero-shot { margin-top: 48px; padding: 20px 20px 0; border-radius: 10px 10px 0 0; } .hero-shot img { border-radius: 8px 8px 0 0; }
  .pad { padding: 72px var(--pad); } .end { padding-top: 96px; padding-bottom: 96px; }
  .strip { grid-template-columns: minmax(0, 1fr); } .strip .label { padding: 22px var(--pad); box-shadow: 0 1px 0 var(--line-2); }
  .labs li { height: 72px; font-size: 16px; } .labs li:nth-child(4n + 1) { box-shadow: none; } .labs li:nth-child(n + 5) { box-shadow: 0 -1px 0 var(--line-2), -1px 0 0 var(--line-2); }
  .labs li:nth-child(5) { box-shadow: 0 -1px 0 var(--line-2); }
  .grid { margin-top: 40px; gap: 32px; } .g2, .g3 { grid-template-columns: minmax(0, 1fr); } .g3 { margin-top: 32px; }
  .steps { margin-top: 56px; gap: 64px; }
  .setup { grid-template-columns: minmax(0, 1fr); } .setup li, .setup li + li { padding: 28px 0 8px; box-shadow: 0 -1px 0 var(--line-2); } .setup li:first-child { box-shadow: none; }
  .code { grid-template-columns: minmax(0, 1fr); } pre { padding: 18px 18px 22px; font-size: 12px; } .pane-h { padding: 14px 18px; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .foot { flex-direction: column; align-items: flex-start; } .foot nav { flex-wrap: wrap; gap: 20px; }
}

/* compare: Sovereign beside the products buyers weigh it against, marked from each product's public documentation */
.vs-wrap { margin-top: 56px; }
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs th, .vs td { padding: 18px 12px; box-shadow: 0 -1px 0 var(--line-2); }
.vs thead th { padding: 22px 12px 18px; box-shadow: none; font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--dim); text-align: center; vertical-align: bottom; }
.vs thead th.us { color: var(--ink); font-weight: 500; border-radius: 12px 12px 0 0; }
.vs thead th.us .mark { display: block; width: 20px; height: 20px; margin: 0 auto 10px; }
.vs tbody th { width: 28%; padding-left: 0; text-align: left; font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; cursor: default; }
.vs td { position: relative; width: 13.2%; text-align: center; }
.vs .us { background: #f6f6f4; }
.vs tbody tr:last-child .us { border-radius: 0 0 12px 12px; }
.vs sup { position: absolute; top: calc(50% - 14px); left: calc(50% + 12px); font: 400 11px var(--mono); color: var(--dim); }
.mk { display: inline-block; width: 18px; height: 18px; overflow: hidden; border-radius: 50%; text-indent: 40px; white-space: nowrap; vertical-align: middle; }
.mk.y { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M5.3 9.2l2.4 2.4 4.9-5.2' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mk.n { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23b4b4b4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px var(--line); }
.mk.p { background: linear-gradient(90deg, #bdbdbd 50%, transparent 50%); box-shadow: inset 0 0 0 1px #bdbdbd; }
.vs-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-top: 32px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.vs-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; } .vs-key > span { display: inline-flex; align-items: center; gap: 8px; }
.vs-key .mk { width: 14px; height: 14px; background-size: 14px; }
.vs-notes ol { columns: 2; column-gap: 32px; padding-left: 20px; }
.vs-notes li { break-inside: avoid; margin-bottom: 4px; } .vs-notes li::marker { font: 11px var(--mono); color: var(--dim); }
@media (max-width: 720px) {   /* phones: each row's words on top, its five marks under them */
  .vs-wrap { margin-top: 36px; }
  .vs thead tr, .vs tbody tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vs thead th:first-child { display: none; }
  .vs thead th { padding: 0 2px 14px; font-size: 10px; letter-spacing: .03em; } .vs thead th.us .mark { width: 16px; height: 16px; margin-bottom: 8px; }
  .vs tbody th { grid-column: 1 / -1; width: auto; padding: 18px 0 10px; font-size: 15px; }
  .vs td { width: auto; padding: 0 0 18px; box-shadow: none; }
  .vs .us, .vs thead th.us { background: none; }
  .vs-notes { grid-template-columns: minmax(0, 1fr); gap: 12px; } .vs-notes ol { columns: 1; }
}

/* benchmark: three ways through the same tasks; Sovereign's row on the column tint the comparison uses */
.b-h { margin-top: 20px; }
.b-intro { max-width: 640px; margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.bench { margin-top: 56px; }
.b-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: center; padding: 22px 20px;
  box-shadow: 0 -1px 0 var(--line-2); }
.b-row.us { border-radius: 12px; background: #f6f6f4; box-shadow: none; }
.b-row.us + .b-row { box-shadow: none; }
.b-head { padding-top: 0; padding-bottom: 14px; box-shadow: none; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.b-arm b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.01em; } .b-arm small { font-size: 13px; color: var(--dim); }
.b-cell span { display: block; font-size: 22px; letter-spacing: -.02em; }
.b-cell i { display: block; height: 4px; margin-top: 10px; background: #d9d9d9; }
.us .b-cell i { background: var(--ink); }
.b-sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.b-sets p { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; color: var(--muted); box-shadow: 0 1px 0 var(--line-2); padding-bottom: 8px; }
.b-sets p small { font-size: 13px; color: var(--dim); } .b-sets p.us { color: var(--ink); font-weight: 500; } .b-sets p.us small { color: var(--ink-2); }
.b-note { margin-top: 32px; font-size: 13px; line-height: 1.55; color: var(--muted); } .b-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .b-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; padding: 18px 14px; }
  .b-arm { grid-column: 1 / -1; } .b-head > div:first-child { display: none; } .b-cell span { font-size: 17px; }
  .b-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
