/* Page patterns for the pages built on src/layouts/NnPage.astro (tools, facts, brand, ERA, MCP, team, lock-in audit, 404).
   Same vocabulary as the ported pages: Clash Display headings (theme.css), Figtree prose, 22px cards on #E4E9F5 hairlines,
   periwinkle #536ee5 for accents and labels, #232323 ink, the dark button for the main action. Light only.
   House rules: no hover scale, grow or zoom anywhere; hover feedback is color, border, background or shadow. */

.la-shell { --la-ink: #232323; --la-body: #585858; --la-card-ink: #2c3444; --la-line: #e4e9f5; --la-line-soft: #eef1f7; --la-soft: #f8fafd; --la-accent: #536ee5; --la-accent-soft: #eef1fd; --la-accent-ink: #1b44c8; --la-dark: #16181f; --la-ok: #1b8055; --la-warn: #b45309; --la-err: #c2410c; }

/* ---- hero ---- */
.la-hero-wrap { padding-top: 24px; }
.la-hero { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.la-hero.is-wide { max-width: 1000px; }
.la-hero .body-tag { display: inline-flex; }
.la-h1 { margin: 0; font-family: var(--brand-font-heading); font-size: 60px; line-height: 1.05; font-weight: 600; color: var(--la-ink); text-wrap: balance; }
.la-h1 .la-lil, .la-lil { color: var(--la-accent); }
.la-lede { margin: 0 auto; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--la-body); text-wrap: pretty; }
.la-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.la-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.la-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; color: var(--la-body); }
.la-crumbs a { color: var(--la-body); text-decoration: none; transition: color .2s; }
.la-crumbs a:hover { color: var(--la-accent); }
.la-crumbs span[aria-hidden] { color: #b8c0d4; }

/* ---- chips and small labels ---- */
.la-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--la-line); font-size: 13px; line-height: 1.3; color: var(--la-card-ink); text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s, background-color .2s; }
.la-chip svg { width: 15px; height: 15px; flex: none; }
a.la-chip:hover { border-color: var(--la-accent); color: var(--la-accent); }
.la-chip.is-accent { background: var(--la-accent-soft); border-color: transparent; color: var(--la-accent-ink); }
.la-kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em !important; text-transform: uppercase; color: var(--la-accent); }

/* ---- sections ---- */
.la-sec .section-wrapper { gap: 48px; }
.la-sec.is-tight > .w-container { padding-top: 24px; }
.la-sec.is-soft { background: var(--la-soft); }
.la-sec-head { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.la-sec-head.is-left { margin: 0; text-align: left; align-items: flex-start; }
.la-h2 { margin: 0; font-family: var(--brand-font-heading); font-size: 44px; line-height: 1.08; font-weight: 600; color: var(--la-ink); text-wrap: balance; }
.la-sec-head.is-left .la-h2, .la-left { text-align: left !important; }
.la-sub { margin: 0; font-size: 17px; line-height: 1.6; color: var(--la-body); text-wrap: pretty; }
.la-h3 { margin: 0; font-family: var(--brand-font-heading); font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--la-ink); text-align: left; }

/* ---- cards ---- */
.la-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.la-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.la-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.la-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--la-line); border-radius: 22px; color: var(--la-card-ink); text-align: left; min-width: 0; }
a.la-card { text-decoration: none; transition: border-color .25s, box-shadow .25s; }
a.la-card:hover { border-color: #c9d2ee; box-shadow: 0 24px 50px -36px rgba(35, 42, 80, .45); }
.la-card.is-featured { border-color: var(--la-accent); box-shadow: 0 24px 50px -34px rgba(83, 110, 229, .55); }
.la-card.is-dark { background: var(--la-dark); border-color: var(--la-dark); color: #e2e8f0; }
.la-card.is-dark .la-card-t { color: #fff; }
.la-card-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--la-accent-soft); color: var(--la-accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.la-card-ic svg { width: 24px; height: 24px; }
.la-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.la-card-t { margin: 0; font-family: var(--brand-font-heading); font-size: 21px; line-height: 1.2; font-weight: 600; color: var(--la-ink); }
.la-card-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--la-body); }
.la-card-p a, .la-prose a, .la-link { color: var(--la-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(83, 110, 229, .35); transition: color .2s, text-decoration-color .2s; }
.la-card-p a:hover, .la-prose a:hover, .la-link:hover { color: var(--la-accent-ink); text-decoration-color: currentColor; }
.la-card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.la-card-go { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--la-ink); transition: color .2s; }
.la-card-go svg { width: 16px; height: 16px; }
a.la-card:hover .la-card-go { color: var(--la-accent); }
.la-ribbon { position: absolute; top: -11px; left: 24px; padding: 3px 10px; border-radius: 999px; background: var(--la-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em !important; text-transform: uppercase; }

/* ---- a list with ticks (same as the pricing cards) ---- */
.la-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.la-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--la-card-ink); }

/* ---- key and value rows (facts, specs) ---- */
.la-kv { margin: 0; border: 1px solid var(--la-line); border-radius: 22px; background: #fff; overflow: hidden; }
.la-kv-row { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--la-line-soft); }
.la-kv-row:first-child { border-top: 0; }
.la-kv dt { margin: 0; font-size: 14px; font-weight: 600; color: var(--la-body); }
.la-kv dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--la-ink); overflow-wrap: anywhere; }
.la-kv dd a { color: var(--la-accent); text-decoration: none; }
.la-kv dd a:hover { text-decoration: underline; }

/* ---- prose ---- */
.la-prose { max-width: 760px; margin: 0 auto; color: var(--la-card-ink); font-size: 17px; line-height: 1.7; text-align: left; }
.la-prose > * + * { margin-top: 1em; }
.la-prose h2 { margin: 2em 0 .5em; font-family: var(--brand-font-heading); font-size: 30px; line-height: 1.15; color: var(--la-ink); text-align: left !important; }
.la-prose h3 { margin: 1.6em 0 .4em; font-family: var(--brand-font-heading); font-size: 22px; line-height: 1.2; color: var(--la-ink); }
.la-prose ul, .la-prose ol { padding-left: 1.25em; }
.la-prose li + li { margin-top: .4em; }
.la-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--la-accent-soft); color: var(--la-accent-ink); padding: 1px 6px; border-radius: 6px; }

/* ---- code block ---- */
.la-code { position: relative; margin: 0; padding: 20px 22px; background: var(--la-dark); color: #e2e8f0; border-radius: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; overflow-x: auto; text-align: left; white-space: pre; letter-spacing: 0 !important; }
.la-code * { letter-spacing: 0 !important; }
.la-code-copy { position: absolute; top: 10px; right: 10px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 12px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.la-code-copy:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }

/* ---- dark band ---- */
.la-band { width: 100%; background: radial-gradient(90% 130% at 20% 0%, rgba(83, 110, 229, .28), rgba(83, 110, 229, 0) 60%), var(--la-dark); border-radius: 28px; padding: 56px 48px; color: #e2e8f0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.la-band .la-h2 { color: #fff; }
.la-band .la-sub { color: #cbd5e1; max-width: 640px; }
.la-band .secondary-button { background: transparent !important; border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; }
.la-band .secondary-button * { color: #fff !important; }

/* ---- split: text beside a panel ---- */
.la-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.la-split.is-top { align-items: start; }

/* ---- forms ---- */
.la-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.la-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.la-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--la-ink); }
.la-input, .la-select, .la-textarea { width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid #d5dbea; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; line-height: 1.4; color: var(--la-ink); transition: border-color .2s, box-shadow .2s; }
.la-textarea { resize: vertical; min-height: 140px; }
.la-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23585858' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.la-input::placeholder, .la-textarea::placeholder { color: #8a93a8; }
.la-input:focus, .la-select:focus, .la-textarea:focus { outline: none; border-color: var(--la-accent); box-shadow: 0 0 0 4px rgba(83, 110, 229, .14); }
.la-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 22px; border: 0; border-radius: 12px; background: #2c2c2c; color: #fff; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; transition: background-color .25s; }
.la-submit:hover { background: var(--la-accent); }
.la-submit:disabled { opacity: .6; cursor: not-allowed; }
.la-note { padding: 14px 16px; border-radius: 12px; background: var(--la-soft); border: 1px solid var(--la-line); font-size: 14px; line-height: 1.55; color: var(--la-card-ink); }
.la-hide { display: none !important; }
.la-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- modal ---- */
.la-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(22, 24, 31, .6); }
.la-modal[hidden] { display: none; }
.la-modal-box { width: 100%; max-width: 440px; padding: 36px 32px; border-radius: 22px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.la-modal-ic { width: 56px; height: 56px; border-radius: 50%; background: #e7f6ee; color: var(--la-ok); display: inline-flex; align-items: center; justify-content: center; }
.la-modal-ic svg { width: 28px; height: 28px; }

/* ---- faces (team) ---- */
.la-face { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 20px 40px -24px rgba(35, 42, 80, .45); background: #fff; flex: none; }
.la-face img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- responsive ---- */
@media (max-width: 991px) {
  .la-grid, .la-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-split { grid-template-columns: 1fr; gap: 32px; }
  .la-h1 { font-size: 48px; }
  .la-h2 { font-size: 36px; }
}
@media (max-width: 767px) {
  .la-hero-wrap { padding-top: 8px; }
  .la-h1 { font-size: 36px; }
  .la-lede { font-size: 16px; }
  .la-h2 { font-size: 28px; }
  .la-grid, .la-grid.is-2, .la-grid.is-4 { grid-template-columns: 1fr; }
  .la-card { padding: 22px; border-radius: 18px; }
  .la-kv-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .la-band { padding: 40px 22px; border-radius: 22px; }
  .la-form-row { grid-template-columns: 1fr; }
  .la-prose { font-size: 16px; }
  .la-prose h2 { font-size: 24px; }
  .la-face { width: 132px; height: 132px; }
}

/* The hero's dotted ground fades into the page instead of stopping at a hard edge. */
.la-hero-sec { position: relative; }
.la-hero-sec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(248, 250, 253, 0), #f8fafd); pointer-events: none; }
.la-hero-sec > .w-container { position: relative; z-index: 1; }
