/* Presba company site. One stylesheet, no inline styles (the CSP blocks them). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-italic.woff2) format('woff2');
}

/* The company site deliberately commits to one light look. */
:root {
  --ink: #0F1A33;
  --navy: #0F1E3D;
  --navy-hover: #1B2E57;
  --link-hover: #2F4F9A;
  --body: #4B5568;
  --muted: #5A6478;
  --line: #E3E7EE;
  --line-strong: #9AA3B5;
  --soft: #F4F6F9;
  --soft-2: #EEF1F6;
  --white: #FFFFFF;
  --footer: #0B1427;
  --footer-text: #B9C2D3;
  --footer-line: #2E3648;
  --amber: #F2A04A;
  --amber-soft: #FFF4E5;
  --violet: #8F6BE3;
  --teal: #0B7A6C;
  --ok: #0B7A6C;
  --brand: linear-gradient(100deg, #F2A04A 0%, #E8735F 22%, #DB5E8E 42%, #8F6BE3 64%, #4F86E6 84%, #2FA898 100%);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1152px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(15, 26, 51, 0.04);
  --shadow-lg: 0 30px 60px rgba(20, 27, 45, 0.16), 0 0 0 1px rgba(20, 27, 45, 0.06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { flex-shrink: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--link-hover); }
p a, li a, td a, .prose a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; border-radius: 6px; background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.h1-sm { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; }
.h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--body); max-width: 40em; }
.body { color: var(--body); }
.small { font-size: 14px; color: var(--body); }
.fine { font-size: 13px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 0;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-hover); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.logo:hover { color: var(--ink); }
.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  background: none; border: 0; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-btn:hover, .nav-btn[aria-expanded="true"] { background: var(--soft); }
.nav-btn[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--navy); border-radius: 6px 6px 0 0; }
.nav-btn svg { transition: transform 0.15s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  min-width: 300px; padding: 8px; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 26, 51, 0.14), 0 0 0 1px var(--line);
  list-style: none; margin: 0;
}
.menu a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 6px; color: var(--ink); }
.menu a:hover { background: var(--soft); color: var(--ink); }
.menu b { font-size: 14px; font-weight: 600; }
.menu span { font-size: 13px; color: var(--body); line-height: 1.45; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.signin { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: none; cursor: pointer; color: var(--ink); }
.menu-toggle:hover { background: var(--soft); }

.nav-mobile-extra { display: none !important; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .signin, .header-actions .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 26, 51, 0.1); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-header.open .nav { display: block; }
  .nav > ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav-btn { width: 100%; justify-content: space-between; height: 48px; padding: 0 4px; font-size: 16px; }
  .nav-btn:hover, .nav-btn[aria-expanded="true"] { background: none; }
  .nav-btn[aria-current="true"] { box-shadow: none; }
  .menu { position: static; transform: none; min-width: 0; box-shadow: none; padding: 0 0 8px; }
  .menu a { padding: 8px 4px; }
  .nav-mobile-extra { display: flex !important; flex-direction: column; gap: 12px; padding: 16px 4px 0; border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 4vw, 48px); }
.section-soft { background: var(--soft); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.section-head .stack-sm { max-width: 46em; }
@media (max-width: 720px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero-img { position: absolute; right: 0; top: 0; width: 57%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--soft) 0%, var(--soft) 44%, rgba(244, 246, 249, 0.85) 56%, rgba(244, 246, 249, 0) 74%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: flex; gap: 96px; padding-block: clamp(48px, 6vw, 80px); }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.hero-copy .lead { max-width: 560px; }
.word-stack { display: flex; flex-direction: column; gap: 8px; padding-top: 56px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; color: var(--muted); }
.word-stack::before { content: ""; width: 40px; height: 1px; background: var(--line-strong); margin-bottom: 12px; }
@media (max-width: 1320px) { .hero > .wrap > .word-stack { display: none; } }
@media (max-width: 960px) {
  .word-stack { display: none; }
  .hero-img { position: static; width: 100%; height: 220px; }
  .hero::after { display: none; }
  .hero { display: flex; flex-direction: column-reverse; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 56px); }
.page-hero .stack-lg { max-width: 760px; }
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-hero .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-hero .media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split-hero { grid-template-columns: minmax(0, 1fr); } }
.product-logo { height: 44px; width: auto; align-self: flex-start; }
.split-hero .h1 { font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.2rem); }
.card .product-logo { height: 36px; }
.product-head { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.product-head svg.mark, .product-head img { width: 32px; height: 32px; }
.page-hero .product-head { font-size: 30px; }
.page-hero .product-head svg.mark { width: 40px; height: 40px; }
.deploy-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--body); }
.deploy-line span { display: inline-flex; align-items: center; gap: 6px; }
.deploy-line svg { color: var(--ok); }

/* Cards and grids */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); min-width: 0; }
a.card:hover { border-color: var(--line-strong); color: var(--ink); }
.card p { font-size: 14px; color: var(--body); }
.card .icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--soft-2); color: var(--navy); }
.feature { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature .icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--soft-2); color: var(--navy); }
.feature p { font-size: 15px; color: var(--body); }

.product-card { gap: 14px; padding: 18px 18px 10px; }
.product-card .top { display: flex; align-items: flex-start; gap: 12px; }
.product-card .top img, .product-card .top svg.mark { width: 28px; height: 28px; }
.product-card .top .name { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.product-card .top b { font-size: 18px; font-weight: 600; }
.product-card .top .name span { font-size: 13px; color: var(--body); line-height: 1.45; }
.product-card .top > svg:last-child { color: var(--muted); margin-top: 4px; }
.product-card .swatch { height: 56px; border-radius: 6px; width: 100%; object-fit: cover; }
.swatch-brand { background: var(--brand); }

.feature-panel { display: flex; gap: 24px; padding: 14px 14px 14px 28px; border-radius: var(--radius); background: var(--soft); min-width: 0; }
.feature-panel .copy { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-block: 12px; min-width: 0; }
.feature-panel .copy p { font-size: 14px; color: var(--body); max-width: 320px; }
.feature-panel .copy .more { margin-top: auto; }
.feature-panel .pic { position: relative; width: 250px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.feature-panel .pic img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.feature-panel .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 51, 0.55), rgba(15, 26, 51, 0) 60%); }
.feature-panel .pic .word-stack { position: absolute; left: 18px; top: 4px; z-index: 1; color: var(--white); }
.feature-panel .pic .word-stack::before { background: rgba(255, 255, 255, 0.7); }
@media (max-width: 560px) { .feature-panel { flex-direction: column; padding: 14px 14px 14px 20px; } .feature-panel .pic { width: 100%; } .feature-panel .pic img { min-height: 160px; height: 160px; } }
@media (max-width: 960px) { .feature-panel .pic .word-stack { display: flex; } }

.paper-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); min-width: 0; }
.paper-card:hover { border-color: var(--line-strong); color: var(--ink); }
.paper-card b { font-size: 16px; line-height: 1.35; font-weight: 600; }
.paper-card .sum { font-size: 14px; color: var(--body); }
.paper-card .date { font-size: 13px; color: var(--body); margin-top: auto; }

.featured-paper { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--white); }
.featured-paper .copy { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.featured-paper .eyebrow { color: #C9D3E6; }
.featured-paper h2 { color: var(--white); }
.featured-paper p { color: #D5DCEA; }
.featured-paper .more { color: var(--white); margin-top: auto; }
.featured-paper img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
@media (max-width: 760px) { .featured-paper { grid-template-columns: minmax(0, 1fr); } .featured-paper img { height: 200px; min-height: 0; } }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checks svg { color: var(--ok); margin-top: 4px; }

/* Plans */
.plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); min-width: 0; }
.plan.featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.plan .price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.plan .price small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--body); letter-spacing: 0; }
.plan .checks li { font-size: 14px; }
.plan .btn { margin-top: auto; }

/* Split rows */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.media-frame { border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Mock app window (Pallette page) */
.mock { border-radius: var(--radius); background: #F6F7FA; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 10 / 7; min-width: 0; }
.mock .bar { height: 44px; flex-shrink: 0; background: var(--white); border-bottom: 1px solid #E6E8EE; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.mock .bar .logo-img { height: 22px; width: auto; }
.mock .bar .search { flex: 1; height: 24px; margin: 0 20px; border-radius: 7px; background: #F1F3F7; }
.mock .bar .orb { width: 24px; height: 24px; }
.mock .body { flex: 1; display: flex; min-height: 0; }
.mock .side { width: 22%; padding: 16px 14px; background: var(--white); border-right: 1px solid #E6E8EE; display: flex; flex-direction: column; gap: 12px; }
.mock .side i { display: block; height: 10px; border-radius: 5px; background: #DDE1E9; }
.mock .side i.on { background: #C9D8F5; }
.mock .main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock .banner { height: 22%; border-radius: 12px; background: #F3F6FC; border: 1px solid #E1E6F2; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 16px; }
.mock .banner i:first-child { height: 12px; width: 50%; border-radius: 6px; background: #27365A; }
.mock .banner i:last-child { height: 8px; width: 70%; border-radius: 4px; background: #C9CFDA; }
.mock .tiles { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock .tile { border-radius: 10px; background: var(--white); border: 1px solid #E6E8EE; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock .tile i:first-child { width: 26px; height: 26px; border-radius: 7px; background: var(--amber-soft); }
.mock .tile:nth-child(2) i:first-child { background: #F3EFFE; }
.mock .tile:nth-child(3) i:first-child { background: #EAF1FE; }
.mock .tile:nth-child(4) i:first-child { background: #E6F6F3; }
.mock .tile:nth-child(5) i:first-child { background: #FDECEF; }
.mock .tile:nth-child(6) i:first-child { background: #EEF1F6; }
.mock .tile i:nth-child(2) { height: 8px; width: 70%; border-radius: 4px; background: #C9CFDA; }
.mock .tile i:nth-child(3) { height: 6px; width: 90%; border-radius: 3px; background: #E6E8EE; }
@media (max-width: 480px) { .mock .side { display: none; } }

/* Pal callout */
.pal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--soft); }
.pal img { width: clamp(120px, 18vw, 200px); }
@media (max-width: 600px) { .pal { grid-template-columns: minmax(0, 1fr); } .pal img { width: 120px; } }

/* Callout band */
.band { border-radius: var(--radius); background: var(--navy); color: var(--white); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #D5DCEA; }
.band .btn-primary { background: var(--white); color: var(--navy); }
.band .btn-primary:hover { background: #E6E9F0; color: var(--navy); }
.band .btn-secondary { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.band .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--white); color: var(--white); }
@media (max-width: 720px) { .band { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); min-width: 220px; }
td { color: var(--body); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #E6F6F3; color: #07594F; }
.pill.info { background: var(--soft-2); color: var(--navy); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--white); font-size: 15px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 1px; border-color: var(--link-hover); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.form-status { font-size: 14px; color: var(--body); }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: #B42318; font-weight: 600; }

/* Contact list */
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .contact-list { grid-template-columns: minmax(0, 1fr); } }
.contact-list .card a { font-weight: 600; word-break: break-word; }

/* People */
.person { display: flex; gap: 18px; align-items: flex-start; }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--soft-2); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.person b { display: block; font-size: 17px; }
.person .role { font-size: 14px; color: var(--muted); }

/* Prose (legal pages, research papers) */
.prose { max-width: 44rem; font-size: 17px; line-height: 1.75; color: #2E3648; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; line-height: 1.25; margin-top: 2.2em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.15rem; line-height: 1.35; margin-top: 1.8em; }
.prose h4 { font-size: 1rem; line-height: 1.4; margin-top: 1.6em; color: var(--ink); }
.prose .caption { font-size: 14px; color: var(--muted); margin-top: -0.6em; }
.prose hr.divider { margin-block: 2em; }
.prose .refs { margin-top: 2.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose .table-wrap { margin-block: 1.6em; }
.prose table { font-size: 14px; line-height: 1.5; }
.prose td:first-child { min-width: 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line-strong); color: var(--body); }
.prose code { font-size: 0.9em; padding: 1px 5px; border-radius: 4px; background: var(--soft-2); }
.prose .cite { color: var(--muted); font-size: 0.92em; }
.abstract { padding: 24px 28px; border-radius: var(--radius); background: var(--soft); font-size: 16px; line-height: 1.7; }
.abstract .eyebrow { display: block; margin-bottom: 8px; }
.references { font-size: 14px; line-height: 1.6; color: var(--body); }
.references li { word-break: break-word; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.paper-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.paper-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.paper-aside .card { gap: 8px; }
@media (max-width: 1000px) { .paper-layout { grid-template-columns: minmax(0, 1fr); } .paper-aside { position: static; } }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--footer); color: #E6E9F0; padding-block: 48px 28px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 0.8fr)) 1.6fr; gap: 32px; }
.site-footer .brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand .logo { color: var(--white); font-size: 28px; }
.site-footer .brand span { font-size: 13px; line-height: 1.6; color: var(--footer-text); }
.site-footer h2 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a, .site-footer li a { font-size: 13px; color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: #9DB4E8; }
.subscribe { display: flex; flex-direction: column; gap: 10px; }
.subscribe p { font-size: 13px; color: var(--footer-text); }
.subscribe .row { display: flex; gap: 8px; }
.subscribe input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--footer-line); background: #131D33; color: var(--white); font-size: 14px; }
.subscribe input::placeholder { color: #8F9AB0; }
.subscribe button { width: 44px; min-height: 44px; border: 0; border-radius: 6px; background: var(--white); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.subscribe .form-status { color: var(--footer-text); font-size: 13px; }
.subscribe .form-status.ok { color: #7FD6C7; }
.site-footer .legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--footer-line); font-size: 13px; color: var(--footer-text); }
.site-footer .legal .spacer { flex: 1; }
.site-footer .social { display: flex; gap: 14px; }
.site-footer .social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 6px; }
@media (max-width: 1100px) { .site-footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer .brand, .subscribe { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Misc */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 14px; color: var(--body); }
.not-found { min-height: 50vh; display: flex; align-items: center; }

/* Art cards: a drawn scene in a top strip that wraps the card, text below. */
.art-card { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.art-card .art {
  position: relative; height: 56px; overflow: hidden; border-bottom: 1px solid var(--line);
  background-color: #F3F5F9;
  background-image: linear-gradient(rgba(15, 30, 61, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 30, 61, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}
.art-card .art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); opacity: 0.85; }
.art-card .art-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.art-card .art-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.art-card .art-body p { font-size: 14px; color: var(--body); }
.art-card .art-body .more { align-self: flex-start; margin-top: auto; }
.art-card .art-body { flex: 1; }
