﻿:root {
  color-scheme: light;
  --ink: #12213a;
  --muted: #5f6d80;
  --line: #d9e0e8;
  --surface: #ffffff;
  --canvas: #f4f7fa;
  --blue: #1557a5;
  --blue-strong: #175cd3;
  --blue-soft: #edf5ff;
  --green: #147d64;
  --green-soft: #eaf7f2;
  --navy: #09264b;
  --content-width: 1380px;
  --marketing-header-height: 82px;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; background: var(--surface); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(23, 92, 211, .28); outline-offset: 3px; }
.bi { line-height: 1; }

.marketing-page { min-width: 320px; background: #fff; }
.marketing-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #e4e9f0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.marketing-nav { min-height: 82px; padding: 0; }
.marketing-container { width: min(calc(100% - 48px), var(--content-width)); margin: 0 auto; display: flex; align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; padding: 8px 0; color: var(--ink); text-decoration: none; }
.brand-logo-image, .brand-symbol-image { display: block; width: auto; max-width: 100%; object-fit: contain; }
.brand-logo-marketing { width: 190px; }
.brand-logo-footer { width: 178px; }
.marketing-nav .navbar-collapse { justify-content: flex-end; }
.marketing-links { align-items: center; gap: clamp(14px, 2.3vw, 38px); margin-right: clamp(18px, 3vw, 50px); }
.marketing-links .nav-link { padding: 28px 0; color: #243650; font-size: 14px; font-weight: 600; }
.marketing-links .nav-link:hover { color: var(--blue-strong); }
.navbar-toggler { border: 1px solid var(--line); padding: 8px 10px; }
.header-cta { min-height: 44px; padding-inline: 20px; white-space: nowrap; }
.marketing-main { overflow: clip; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue-strong); border-color: var(--blue-strong); }
.button-primary:hover { color: #fff; background: #0f4fbf; border-color: #0f4fbf; }
.button-secondary { color: var(--blue-strong); background: #fff; border-color: var(--blue-strong); }
.button-secondary:hover { color: #0f4fbf; background: var(--blue-soft); }
.button-light { color: var(--blue-strong); background: #fff; border-color: #fff; min-width: 230px; }
.button-light:hover { color: var(--navy); background: #f4f8ff; }

.landing-hero { width: min(calc(100% - 64px), var(--content-width)); min-height: 520px; margin: 0 auto; padding: 78px 0 64px; display: grid; grid-template-columns: minmax(480px, .92fr) minmax(0, 1.08fr); gap: clamp(34px, 4vw, 72px); align-items: center; }
.section-kicker { display: inline-block; margin-bottom: 12px; color: var(--blue-strong); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 650px; margin: 0; color: var(--ink); font-size: clamp(42px, 3.7vw, 62px); font-weight: 750; line-height: 1.06; letter-spacing: -2.1px; }
.hero-copy p { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.process-showcase { min-width: 0; }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.process-steps::before { content: ""; position: absolute; top: 45px; left: 9%; right: 9%; border-top: 2px dotted #9eb4ce; z-index: 0; }
.process-steps li { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; text-align: center; }
.step-number { width: 29px; height: 29px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; color: #fff; background: var(--blue-strong); font-size: 12px; font-weight: 800; }
.step-number.complete { background: var(--green); }
.step-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #cfd9e6; border-radius: 10px; color: var(--navy); background: #fff; font-size: 30px; }
.process-steps strong { min-height: 42px; margin-top: 14px; color: var(--ink); font-size: 14px; line-height: 1.35; }
.process-steps small { max-width: 130px; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.format-strip { width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto 78px; min-height: 86px; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: center; border: 1px solid #e0e8f2; background: var(--canvas); }
.format-strip > * { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid #d7e1ed; }
.format-strip > *:last-child { border-right: 0; }
.format-strip > span { color: #34445d; font-size: 13px; font-weight: 700; }
.format-strip strong { font-size: 18px; }
.format-strip .bi { color: var(--blue-strong); font-size: 27px; }

.session-security-section { width: min(calc(100% - 64px), 1280px); margin: 0 auto; padding: 20px 0 96px; }
.section-heading { max-width: 620px; margin-bottom: 38px; }
.section-heading h2, .developer-copy h2, .contact-section h2 { margin: 0; font-size: clamp(31px, 3vw, 43px); line-height: 1.16; letter-spacing: -1.2px; }
.section-heading p { margin: 13px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.session-security-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(50px, 7vw, 100px); align-items: start; }
.session-preview { overflow: hidden; border: 1px solid #cfd9e6; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px rgba(18, 33, 58, .08); }
.preview-topbar { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 14px; }
.preview-topbar span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 11px; }
.preview-content { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 380px; }
.document-preview { position: relative; padding: 22px 20px 18px; border-right: 1px solid var(--line); background: #f8fafc; }
.document-title { display: flex; align-items: flex-start; gap: 10px; }
.document-title > .bi { color: #d92d20; font-size: 26px; }
.document-title span { display: grid; gap: 3px; min-width: 0; }
.document-title strong { overflow-wrap: anywhere; font-size: 12px; }
.document-title small { color: var(--muted); font-size: 10px; }
.document-sheet-icon { width: 100%; min-height: 235px; display: grid; place-items: center; margin-top: 18px; border: 1px solid #dbe3ec; color: #9baabc; background: #fff; font-size: 110px; }
.page-count { position: absolute; right: 29px; bottom: 27px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: #fff; font-size: 10px; }
.approval-preview { padding: 24px 22px; display: flex; flex-direction: column; }
.preview-label { color: var(--blue-strong); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.approval-preview dl { margin: 18px 0; display: grid; gap: 13px; }
.approval-preview dl div { display: grid; gap: 2px; }
.approval-preview dt { color: var(--muted); font-size: 10px; font-weight: 600; }
.approval-preview dd { margin: 0; font-size: 12px; font-weight: 650; }
.approval-message { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 11px; border: 1px solid #9cd5c6; border-radius: 5px; color: #285c4d; background: var(--green-soft); font-size: 10px; line-height: 1.4; }
.approval-message .bi { color: var(--green); font-size: 19px; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.preview-actions button { min-height: 38px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.preview-cancel { border: 1px solid #b9c5d3; color: var(--ink); background: #fff; }
.preview-sign { border: 1px solid var(--blue-strong); color: #fff; background: var(--blue-strong); }
.preview-footnote { min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.preview-footnote .bi { color: var(--green); }

.security-truths h2 { margin: 0 0 18px; font-size: 28px; }
.security-truths ul { margin: 0; padding: 0; list-style: none; }
.security-truths li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.security-truths li:last-child { border-bottom: 0; }
.security-truths li > .bi { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 23px; }
.security-truths li span { display: grid; gap: 5px; }
.security-truths strong { font-size: 14px; }
.security-truths small { color: var(--muted); font-size: 12px; line-height: 1.5; }

.developer-section { padding: 76px max(32px, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: minmax(330px, .78fr) minmax(540px, 1.22fr); gap: clamp(60px, 8vw, 120px); align-items: center; color: #fff; background: var(--navy); }
.developer-copy .section-kicker { color: #7bb4ff; }
.developer-copy h2 { color: #fff; }
.developer-copy p { max-width: 500px; margin: 16px 0 24px; color: #c4d3e7; font-size: 16px; line-height: 1.65; }
.developer-copy ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #dbe7f5; font-size: 14px; }
.developer-copy li { display: flex; align-items: center; gap: 10px; }
.developer-copy li .bi { color: #58a6ff; font-size: 19px; }
.code-window { overflow: hidden; border: 1px solid #3b587b; border-radius: 8px; background: #102f55; box-shadow: 0 22px 46px rgba(0, 0, 0, .2); }
.code-tabs { min-height: 54px; padding: 0 22px; display: flex; align-items: stretch; gap: 30px; border-bottom: 1px solid #395574; color: #a9bfd7; font-size: 12px; }
.code-tabs span { display: flex; align-items: center; }
.code-tabs .active { border-bottom: 2px solid #60a5fa; color: #fff; }
.code-window pre { min-height: 320px; margin: 0; padding: 26px; overflow: auto; color: #dce9f7; background: transparent; font: 13px/1.65 Consolas, "Courier New", monospace; }
.code-method { display: inline-flex; margin-right: 7px; padding: 1px 7px; border-radius: 3px; color: #092d25; background: #8bd8bd; font-weight: 800; }
.code-note { min-height: 50px; padding: 0 22px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #395574; color: #c3d5e8; background: #183b63; font-size: 12px; }

.benefits-section { width: min(calc(100% - 64px), 1280px); margin: 0 auto; padding: 90px 0 94px; }
.compact-heading { margin-bottom: 42px; }
.benefit-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit-list article { padding: 0 27px; border-right: 1px solid var(--line); }
.benefit-list article:first-child { padding-left: 0; }
.benefit-list article:last-child { padding-right: 0; border-right: 0; }
.benefit-list .bi { color: var(--blue-strong); font-size: 31px; }
.benefit-list h3 { margin: 18px 0 9px; font-size: 16px; }
.benefit-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.contact-section { padding: 56px max(32px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; background: #0b315f; }
.contact-section .section-kicker { color: #8cbcff; }
.contact-section h2 { color: #fff; }
.contact-section p { max-width: 750px; margin: 12px 0 0; color: #c6d6e9; line-height: 1.6; }

.marketing-footer { padding: 58px max(32px, calc((100vw - 1280px) / 2)) 24px; color: #b8c8da; background: #071f3d; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-brand { width: fit-content; padding: 7px 0; border-radius: 6px; background: transparent; }
.footer-brand .brand-logo-footer { filter: brightness(0) invert(1); }
.footer-grid p { max-width: 320px; margin: 18px 0 0; font-size: 13px; line-height: 1.6; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 10px; }
.footer-grid > div > strong { margin-bottom: 4px; color: #fff; font-size: 13px; }
.footer-grid a:not(.brand-lockup) { color: #b8c8da; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid #23405f; font-size: 11px; }

/* Isolated signing experience */
.signing-page { max-width: 100%; overflow-x: hidden; background: var(--canvas); }
.signing-main { min-height: 100vh; }
.workspace { min-height: 100vh; }
.product-header { min-height: 92px; padding: 20px clamp(20px, 4vw, 64px); display: flex; align-items: center; gap: 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.product-header.compact { min-height: 76px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 24px; font-weight: 800; }
.eyebrow { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.product-header h1, .empty-state h2, .product-header p { margin: 0; }
.product-header h1 { margin-top: 2px; font-size: 24px; }
.product-header p { margin-top: 4px; color: var(--muted); }
.status { margin-left: auto; color: var(--green); font-size: 13px; font-weight: 700; }
.status.pending { color: #8a5b00; }
.empty-state { min-height: calc(100vh - 92px); padding: 48px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; }
.empty-state h2 { font-size: 28px; }
.empty-state p { max-width: 620px; color: var(--muted); line-height: 1.6; }
.document-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); font-size: 30px; }
.format-list { display: flex; gap: 8px; margin-top: 8px; }
.format-list span { padding: 6px 10px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 700; }
.signer-flow { width: 100%; max-width: 1180px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.signer-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.25rem; }
.signer-card { min-width: 0; background: #fff; border: 1px solid #dbe3ee; border-radius: 18px; padding: 1.5rem; box-shadow: 0 14px 40px rgba(23, 43, 77, .08); }
.signer-card h2 { margin: .35rem 0 1rem; overflow-wrap: anywhere; }
.error-card { border-color: #f4b9b9; background: #fff8f8; }
.document-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 1.25rem 0; }
.document-meta div { padding: .8rem; border-radius: 12px; background: #f6f8fb; }
.document-meta dt { color: #667085; font-size: .8rem; }
.document-meta dd { margin: .2rem 0 0; font-weight: 650; overflow-wrap: anywhere; }
.hash { padding: .85rem; background: #f6f8fb; border-radius: 12px; font: .8rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.field-row { display: grid; gap: .4rem; margin-top: 1rem; }
.field-row label { font-weight: 650; }
.field-row input, .field-row select { width: 100%; min-width: 0; border: 1px solid #c9d3df; border-radius: 10px; padding: .75rem .85rem; }
.consent-row { display: flex; gap: .65rem; align-items: flex-start; margin: 1.1rem 0; }
.button-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: .75rem 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary-button { border: 1px solid #175cd3; background: #175cd3; color: #fff; }
.secondary-button { border: 1px solid #b8c5d5; background: #fff; color: #243b53; }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; cursor: wait; }
.flow-status { min-height: 1.5rem; margin: 1rem 0; color: #344054; }
.flow-status.error { color: #b42318; }
.hidden { display: none !important; }

@media (max-width: 1180px) {
  .landing-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .process-showcase { padding: 20px 0 0; }
  .developer-section { grid-template-columns: 1fr; }
  .developer-copy { max-width: 700px; }
}

@media (max-width: 991px) {
  .marketing-nav { min-height: 72px; }
  .marketing-container { flex-wrap: wrap; padding: 10px 0; }
  .marketing-nav .navbar-collapse { width: 100%; padding: 14px 0 18px; }
  .marketing-links { align-items: flex-start; gap: 0; margin-right: 0; }
  .marketing-links .nav-link { padding: 10px 0; }
  .header-cta { margin-top: 8px; }
  .session-security-grid { grid-template-columns: 1fr; }
  .security-truths { max-width: 700px; }
  .benefit-list { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .benefit-list article:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .marketing-container, .landing-hero, .format-strip, .session-security-section, .benefits-section { width: min(calc(100% - 36px), var(--content-width)); }
  .landing-hero { padding: 54px 0 45px; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -1.5px; }
  .hero-copy p { font-size: 16px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-steps::before { top: 20px; bottom: 20px; left: 14px; right: auto; border-top: 0; border-left: 2px dotted #9eb4ce; }
  .process-steps li { min-height: 105px; display: grid; grid-template-columns: 29px 58px 1fr; grid-template-rows: auto auto; column-gap: 13px; align-items: center; text-align: left; }
  .step-number { grid-row: 1 / 3; margin: 0; }
  .step-icon { width: 58px; height: 58px; grid-row: 1 / 3; font-size: 24px; }
  .process-steps strong { min-height: auto; margin: 0; }
  .process-steps small { max-width: none; margin: 0; }
  .format-strip { grid-template-columns: 1fr; margin-bottom: 55px; padding: 10px 18px; }
  .format-strip > * { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .format-strip > *:last-child { border-bottom: 0; }
  .preview-content { grid-template-columns: 1fr; }
  .document-preview { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .developer-section { padding: 58px 20px; }
  .code-tabs { gap: 18px; overflow-x: auto; }
  .code-window pre { font-size: 11px; }
  .benefit-list { grid-template-columns: 1fr; }
  .benefit-list article, .benefit-list article:first-child, .benefit-list article:last-child { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-list article:last-child { border-bottom: 0; }
  .contact-section { padding: 48px 20px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .product-header { align-items: flex-start; flex-wrap: wrap; }
  .status { width: 100%; margin-left: 64px; }
  .signer-grid { grid-template-columns: 1fr; }
  .document-meta { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .hero-actions, .hero-actions .button { width: 100%; }
  .preview-actions { grid-template-columns: 1fr; }
  .security-truths li { grid-template-columns: 44px 1fr; }
  .security-truths li > .bi { width: 44px; height: 44px; font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
/* Landing hero carousel */
.landing-hero-banner {
  position: relative;
  isolation: isolate;
  height: calc(100vh - var(--marketing-header-height));
  height: calc(100svh - var(--marketing-header-height));
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid #e3eaf3;
  background: #fff;
  box-shadow: inset 0 -34px 54px rgba(10, 43, 84, .025);
}

.hero-carousel {
  --hero-glow-rgb: 23, 92, 211;
  --hero-wave-rgb: 20, 125, 100;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  padding-bottom: 72px;
  overflow: hidden;
  background-image: radial-gradient(circle at 88% 18%, rgba(23, 92, 211, .20), transparent 34%), radial-gradient(circle at 8% 82%, rgba(20, 125, 100, .14), transparent 32%), radial-gradient(circle at 52% 48%, rgba(99, 164, 255, .09), transparent 38%), linear-gradient(120deg, #fff 0%, #f7fbff 52%, #f4f9ff 100%);
  background-position: 100% 0, 0 100%, 50% 50%, 50% 50%;
  background-size: 128% 128%, 136% 136%, 150% 150%, 170% 170%;
  animation: heroThemeFlow 16s ease-in-out infinite alternate;
}
.hero-carousel:has(.hero-theme-trial.active) { --hero-glow-rgb: 20, 125, 100; --hero-wave-rgb: 241, 174, 64; background-image: radial-gradient(circle at 84% 20%, rgba(20, 125, 100, .20), transparent 35%), radial-gradient(circle at 12% 78%, rgba(241, 174, 64, .15), transparent 32%), radial-gradient(circle at 52% 44%, rgba(104, 226, 207, .10), transparent 38%), linear-gradient(120deg, #fff 0%, #f8fcfa 52%, #fffaf2 100%); }
.hero-carousel:has(.hero-theme-agent.active) { --hero-glow-rgb: 10, 43, 84; --hero-wave-rgb: 115, 105, 255; background-image: radial-gradient(circle at 86% 18%, rgba(10, 43, 84, .20), transparent 35%), radial-gradient(circle at 10% 82%, rgba(58, 101, 211, .15), transparent 32%), radial-gradient(circle at 55% 48%, rgba(115, 105, 255, .10), transparent 38%), linear-gradient(120deg, #fff 0%, #f7f9ff 52%, #f5f4ff 100%); }
.hero-carousel::before,
.hero-carousel::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.hero-carousel::before { width: min(58vw, 860px); aspect-ratio: 1; top: -42%; right: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--hero-glow-rgb), .18) 0, rgba(var(--hero-glow-rgb), .08) 42%, transparent 70%); filter: blur(4px); animation: heroGlowDrift 12s ease-in-out infinite alternate; }
.hero-carousel::after { width: 72%; height: 145%; top: -22%; left: 38%; background: linear-gradient(118deg, transparent 22%, rgba(var(--hero-wave-rgb), .055) 44%, rgba(var(--hero-wave-rgb), .13) 53%, transparent 72%); transform: rotate(-8deg); animation: heroWaveSweep 15s ease-in-out infinite alternate; }
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { height: 100%; }
.hero-carousel .carousel-inner { position: relative; z-index: 2; overflow: hidden; background: transparent; }
.hero-carousel .carousel-item {
  position: relative;
  overflow: hidden;
  background: transparent;
  transition: transform .62s ease-in-out;
}
.hero-slide { position: relative; z-index: 2; height: 100%; min-height: 0; padding-top: clamp(28px, 6vh, 68px); padding-bottom: clamp(20px, 4vh, 50px); }
.hero-carousel-toolbar {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 20px;
  left: 0;
  width: min(calc(100% - 64px), var(--content-width));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-carousel-indicators {
  position: static;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}

.hero-carousel-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #a9b8ca;
  opacity: .7;
  transition: width .2s ease, background-color .2s ease, opacity .2s ease;
}

.hero-carousel-indicators [data-bs-target].active {
  width: 62px;
  background: var(--blue-strong);
  opacity: 1;
}

.hero-carousel-controls { display: flex; align-items: center; gap: 10px; }
.hero-carousel-control-label { margin-right: 4px; color: #687891; font-size: 12px; font-weight: 650; }

.hero-carousel-control {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cdd8e6;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(18, 33, 58, .12);
  font-size: 18px;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background-color .18s ease;
}

.hero-carousel-control:hover {
  transform: translateY(-2px);
  border-color: var(--blue-strong);
  color: #fff;
  background: var(--blue-strong);
}

.hero-highlight-card,
.hero-agent-panel {
  width: min(100%, 570px);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(9, 38, 75, .20);
}

.hero-highlight-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(145deg, #0a2b54, #135b83);
}

.hero-highlight-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -105px;
  border-radius: 50%;
  background: rgba(104, 226, 207, .14);
}

.hero-highlight-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  color: #68e2cf;
  background: rgba(255, 255, 255, .11);
  font-size: 26px;
}

.hero-highlight-card > span {
  display: block;
  color: #86efe0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-highlight-card > strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(72px, 8vw, 112px);
  line-height: .92;
  letter-spacing: -5px;
}

.hero-highlight-card h2 { margin: 12px 0 25px; font-size: clamp(25px, 2.5vw, 36px); }
.hero-highlight-card ul { position: relative; z-index: 1; display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.hero-highlight-card li { display: flex; align-items: center; gap: 10px; color: #e8f6ff; font-size: 14px; }
.hero-highlight-card li .bi { color: #68e2cf; font-size: 18px; }

.hero-agent-panel {
  overflow: hidden;
  border-color: #cbd9e8;
  background: #fff;
}

.hero-agent-panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(120deg, #0a2b54, #175cd3);
}

.hero-agent-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  font-size: 23px;
}

.hero-agent-panel-head strong,
.hero-agent-panel-head small { display: block; }
.hero-agent-panel-head strong { font-size: 16px; }
.hero-agent-panel-head small { margin-top: 4px; color: #c9dbf5; font-size: 11px; }

.hero-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #d9fff8;
  background: rgba(20, 125, 100, .48);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.hero-agent-panel-body { display: grid; gap: 0; padding: 10px 24px; }
.hero-agent-panel-body article { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid #e4ebf3; }
.hero-agent-panel-body article:last-child { border-bottom: 0; }
.hero-agent-panel-body article > .bi { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--blue-strong); background: var(--blue-soft); font-size: 21px; }
.hero-agent-panel-body strong,
.hero-agent-panel-body small { display: block; }
.hero-agent-panel-body strong { color: var(--ink); font-size: 15px; }
.hero-agent-panel-body small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (max-width: 1180px) {
  .hero-slide { min-height: 0; grid-template-rows: auto minmax(0, 1fr); align-content: center; padding-top: clamp(24px, 4.5vh, 52px); padding-bottom: clamp(16px, 3vh, 34px); }
  .hero-highlight-card, .hero-agent-panel { width: 100%; max-width: 760px; margin: 0; }
}

@media (max-width: 991px) {
  :root { --marketing-header-height: 72px; }
}

@media (max-width: 760px) {
  .hero-carousel { padding-bottom: 64px; }
  .hero-slide { overflow: hidden; align-content: center; gap: clamp(12px, 2.5svh, 22px); padding-top: clamp(16px, 3svh, 30px); padding-bottom: clamp(8px, 1.5svh, 16px); }
  .hero-slide .hero-copy h1 { font-size: clamp(29px, 8.6vw, 42px); line-height: 1.04; letter-spacing: -1.25px; }
  .hero-slide .hero-copy p { margin-top: 12px; font-size: clamp(13px, 3.7vw, 15px); line-height: 1.45; }
  .hero-slide .section-kicker { margin-bottom: 7px; font-size: 10px; }
  .hero-slide .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .hero-slide .hero-actions .button { width: 100%; min-height: 40px; padding: 9px 11px; font-size: 11px; }
  .hero-slide .hero-actions .button:nth-child(n + 3) { display: none; }
  .hero-slide .process-showcase { padding: 0; }
  .hero-slide .process-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .hero-slide .process-steps::before { top: 16px; bottom: auto; left: 8%; right: 8%; border-top: 2px dotted #9eb4ce; border-left: 0; }
  .hero-slide .process-steps li { min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-slide .step-number { width: 22px; height: 22px; grid-row: auto; margin: 0 0 5px; font-size: 9px; }
  .hero-slide .step-icon { width: 38px; height: 38px; grid-row: auto; font-size: 17px; }
  .hero-slide .process-steps strong { min-height: 20px; margin-top: 6px; font-size: 9px; line-height: 1.1; }
  .hero-slide .process-steps small { display: none; }
  .hero-carousel-toolbar { width: min(calc(100% - 36px), var(--content-width)); bottom: 10px; }
  .hero-carousel-control-label { display: none; }
  .hero-carousel-control { width: 42px; height: 42px; }
  .hero-highlight-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; }
  .hero-highlight-icon { display: none; }
  .hero-highlight-card > span, .hero-highlight-card > strong { grid-column: 1; }
  .hero-highlight-card > strong { margin: 4px 0 0; font-size: 52px; letter-spacing: -2px; }
  .hero-highlight-card h2, .hero-highlight-card ul { grid-column: 2; }
  .hero-highlight-card h2 { margin: 0 0 8px; font-size: 19px; }
  .hero-highlight-card ul { gap: 5px; }
  .hero-highlight-card li { gap: 6px; font-size: 10px; }
  .hero-highlight-card li .bi { font-size: 13px; }
  .hero-agent-panel { border-radius: 20px; }
  .hero-agent-panel-head { padding: 13px 16px; }
  .hero-agent-symbol { width: 38px; height: 38px; font-size: 18px; }
  .hero-agent-panel-body { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 7px 10px; }
  .hero-agent-panel-body article { grid-template-columns: 1fr; justify-items: center; gap: 7px; padding: 10px 5px; border-right: 1px solid #e4ebf3; border-bottom: 0; text-align: center; }
  .hero-agent-panel-body article:last-child { border-right: 0; }
  .hero-agent-panel-body article > .bi { width: 34px; height: 34px; font-size: 16px; }
  .hero-agent-panel-body strong { font-size: 10px; }
  .hero-agent-panel-body small { display: none; }
}

@media (max-width: 520px) {
  .hero-carousel-toolbar { gap: 14px; }
  .hero-carousel-indicators [data-bs-target] { width: 24px; }
  .hero-carousel-indicators [data-bs-target].active { width: 42px; }
  .hero-agent-panel-head { grid-template-columns: auto 1fr auto; padding: 11px 13px; gap: 9px; }
  .hero-ready-badge { grid-column: auto; width: fit-content; padding: 5px 7px; font-size: 9px; }
  .hero-agent-panel-head strong { font-size: 12px; }
  .hero-agent-panel-head small { font-size: 9px; }
  .hero-agent-panel-body { padding: 6px 8px; }
  .hero-agent-panel-body article { grid-template-columns: 1fr; padding: 9px 4px; }
  .hero-agent-panel-body article > .bi { width: 32px; height: 32px; }
}

@media (max-height: 820px) and (min-width: 761px) {
  .hero-carousel { padding-bottom: 58px; }
  .hero-slide { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr; gap: 26px; padding-top: 20px; padding-bottom: 14px; }
  .hero-slide .hero-copy h1 { font-size: clamp(34px, 3.6vw, 50px); }
  .hero-slide .hero-copy p { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .hero-slide .hero-actions { margin-top: 18px; }
  .hero-slide .process-steps { gap: 8px; }
  .hero-slide .step-icon { width: 52px; height: 52px; font-size: 22px; }
  .hero-slide .process-steps strong { font-size: 11px; }
  .hero-slide .process-steps small { display: none; }
  .hero-highlight-card { padding: 24px 30px; }
  .hero-highlight-card > strong { font-size: 66px; }
  .hero-highlight-card h2 { margin-bottom: 14px; font-size: 25px; }
  .hero-agent-panel-body article { padding: 12px 0; }
  .hero-carousel-toolbar { bottom: 6px; }
}

@media (max-height: 560px) and (min-width: 761px) {
  .hero-slide .hero-copy p { display: none; }
  .hero-slide .hero-actions .button:not(:first-child) { display: none; }
  .hero-highlight-card ul { gap: 6px; }
  .hero-agent-panel-body small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel,
  .hero-carousel::before,
  .hero-carousel::after { animation: none; }
  .hero-carousel .carousel-item,
  .hero-carousel-control,
  .hero-carousel-indicators [data-bs-target] { transition: none; }
}

@keyframes heroThemeFlow {
  0% { background-position: 100% 0, 0 100%, 46% 54%, 50% 50%; }
  45% { background-position: 90% 12%, 10% 88%, 58% 42%, 42% 58%; }
  100% { background-position: 78% 24%, 22% 76%, 42% 60%, 60% 40%; }
}

@keyframes heroGlowDrift {
  0% { transform: translate3d(0, 0, 0) scale(.92); opacity: .64; }
  100% { transform: translate3d(-10vw, 12vh, 0) scale(1.14); opacity: 1; }
}

@keyframes heroWaveSweep {
  0% { transform: translate3d(-8%, 0, 0) rotate(-8deg); opacity: .55; }
  100% { transform: translate3d(14%, -5%, 0) rotate(4deg); opacity: .95; }
}
/* Customer console */
.customer-console-page { min-width: 320px; overflow-x: hidden; background: #f8fafc; }
.customer-console-main { min-height: 100vh; }
.console-shell { --console-sidebar: 252px; min-height: 100vh; display: grid; grid-template-columns: var(--console-sidebar) minmax(0, 1fr); color: #0d2146; background: #f8fafc; }
.console-sidebar { position: sticky; top: 0; z-index: 40; min-height: 100vh; max-height: 100vh; padding: 22px 10px 18px; display: flex; flex-direction: column; overflow-y: auto; color: #eaf2ff; background: #06234a; transition: width .2s ease, transform .2s ease; }
.console-brand { width: fit-content; display: inline-flex; align-items: center; margin: 0 10px 31px; padding: 6px 8px; border-radius: 6px; background: #fff; text-decoration: none; }
.console-sidebar .console-brand, .customer-login-brand .console-brand, .trial-signup-story .console-brand { background: transparent; }
.console-sidebar .console-brand .brand-logo-image, .console-sidebar .console-brand .brand-symbol-image, .customer-login-brand .console-brand .brand-logo-image, .customer-login-brand .console-brand .brand-symbol-image, .trial-signup-story .console-brand .brand-logo-image, .trial-signup-story .console-brand .brand-symbol-image { filter: brightness(0) invert(1); }
.console-sidebar .console-brand:hover, .console-sidebar .console-brand:focus-visible, .customer-login-brand .console-brand:hover, .customer-login-brand .console-brand:focus-visible, .trial-signup-story .console-brand:hover, .trial-signup-story .console-brand:focus-visible { background: rgba(255,255,255,.08); }
.brand-logo-console { width: 176px; }
.brand-symbol-console { display: none; width: 42px; height: 42px; }
.console-nav { display: grid; gap: 5px; }
.console-nav-item { width: 100%; min-height: 45px; padding: 0 16px; display: flex; align-items: center; gap: 14px; border: 0; border-radius: 5px; color: #d9e5f4; background: transparent; font-size: 14px; text-align: left; transition: color .16s ease, background-color .16s ease; }
.console-nav-item .bi { width: 21px; color: #d4e2f4; font-size: 19px; text-align: center; }
.console-nav-item:hover { color: #fff; background: #123a68; }
.console-nav-item.active { color: #fff; background: #075ee4; font-weight: 700; box-shadow: 0 8px 22px rgba(0, 72, 184, .28); }
.console-nav-item.active .bi { color: #fff; }
.console-trust-note { margin: auto 4px 16px; padding: 15px 13px; display: grid; grid-template-columns: 23px 1fr; gap: 10px; border: 1px solid #315276; border-radius: 6px; color: #d8e5f4; font-size: 11px; line-height: 1.55; }
.console-trust-note > .bi { color: #25c58d; font-size: 20px; }
.console-trust-note div { display: grid; gap: 5px; }
.console-trust-note strong { color: #fff; font-size: 11px; }
.console-sidebar-collapse { min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border: 0; color: #c8d7ea; background: transparent; font-size: 12px; }
.console-sidebar-collapse:hover { color: #fff; }

.console-workspace { min-width: 0; }
.console-topbar { min-height: 62px; padding: 0 26px 0 29px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #dce3ec; background: #fff; }
.console-organization, .console-user, .console-icon-button, .console-mobile-menu { border: 0; color: #0d2146; background: transparent; }
.console-organization { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; }
.console-topbar-actions { display: flex; align-items: center; gap: 14px; }
.console-environment { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d4deea; border-radius: 5px; color: #344a67; background: #fff; font-size: 12px; font-weight: 650; }
.console-environment > i { width: 8px; height: 8px; border-radius: 50%; background: #099268; }
.console-icon-button { width: 34px; height: 34px; display: grid; place-items: center; color: #61718a; font-size: 17px; }
.console-user { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.console-user > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #075ee4; font-size: 11px; font-weight: 750; }
.console-user strong { font-size: 12px; font-weight: 650; }
.console-mobile-menu { display: none; font-size: 23px; }

.console-content { max-width: 1480px; margin: 0 auto; padding: 31px 27px 44px; }
.console-heading h1 { margin: 0; font-size: 28px; line-height: 1.18; letter-spacing: -.7px; }
.console-heading p { margin: 17px 0 2px; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.console-heading small { color: #687891; font-size: 12px; }
.console-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #0aa36f; }

.console-metrics { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.console-metrics article { min-height: 112px; padding: 20px 18px; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; border: 1px solid #dae2ec; border-radius: 7px; background: #fff; }
.console-metric-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #075ee4; font-size: 20px; }
.console-metrics article > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 2px 10px; }
.console-metrics small { grid-column: 1 / -1; color: #4e6079; font-size: 12px; }
.console-metrics strong { color: #0d2146; font-size: 24px; line-height: 1.2; letter-spacing: -.5px; }
.console-trend { color: #099268; font-size: 12px; font-weight: 700; }
.console-muted-value { color: #5b6b82; font-size: 12px; font-weight: 650; }
.console-metrics em { grid-column: 1 / -1; color: #687891; font-size: 11px; font-style: normal; }

.console-primary-grid, .console-secondary-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.86fr) minmax(330px, .96fr); gap: 16px; }
.console-panel { min-width: 0; border: 1px solid #dae2ec; border-radius: 7px; background: #fff; }
.console-panel-heading { min-height: 56px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e4e9f0; }
.console-panel-heading h2 { margin: 0; font-size: 15px; font-weight: 720; }
.console-panel-heading > button { border: 0; color: #075ee4; background: transparent; font-size: 11px; font-weight: 650; }
.console-period { display: inline-flex; border: 1px solid #d5deea; border-radius: 5px; overflow: hidden; }
.console-period button { min-width: 55px; min-height: 29px; padding: 0 13px; border: 0; border-right: 1px solid #d5deea; color: #52637b; background: #fff; font-size: 11px; }
.console-period button:last-child { border-right: 0; }
.console-period button.active { color: #075ee4; background: #edf5ff; box-shadow: inset 0 -2px #075ee4; font-weight: 700; }
.console-chart-wrap { height: 245px; padding: 15px 17px 5px 12px; }
.console-chart-wrap canvas { width: 100%; height: 100%; }
.signature-distribution { padding: 0 17px 17px; }
.signature-distribution h3 { margin: 3px 0 11px; font-size: 14px; }
.distribution-bar { height: 24px; display: flex; overflow: hidden; border-radius: 6px; color: #fff; background: #e9f0fb; font-size: 10px; font-weight: 700; }
.distribution-bar span { display: grid; place-items: center; }
.distribution-bar .pades { background: #075ee4; }
.distribution-bar .cades { background: #5794f5; }
.distribution-bar .xades { color: #1f426f; background: #b9d4fb; }
.distribution-legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px 30px; color: #5e6f86; font-size: 11px; }
.distribution-legend span { display: inline-flex; align-items: center; gap: 6px; }
.distribution-legend i { width: 8px; height: 8px; border-radius: 50%; }
.distribution-legend i.pades { background: #075ee4; }
.distribution-legend i.cades { background: #5794f5; }
.distribution-legend i.xades { background: #b9d4fb; }
.distribution-legend strong { color: #18304f; }

.task-count { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #075ee4; background: #edf5ff; font-size: 11px; font-weight: 750; }
.task-list { margin: 0; padding: 0; list-style: none; }
.task-list li { min-height: 91px; padding: 15px 15px; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; border-bottom: 1px solid #e4e9f0; transition: opacity .18s ease, background-color .18s ease; }
.task-list li.completed { opacity: .58; background: #f7faf9; }
.task-list li.completed div strong { text-decoration: line-through; }
.task-list li > .bi { color: #075ee4; font-size: 20px; }
.task-list li > .task-warning { color: #e36b00; }
.task-list li div { display: grid; gap: 5px; }
.task-list strong { color: #132a4b; font-size: 12px; }
.task-list span { color: #687891; font-size: 10px; line-height: 1.45; }
.task-list button { min-width: 66px; min-height: 31px; padding: 0 11px; border: 1px solid #c8d9f1; border-radius: 4px; color: #075ee4; background: #fff; font-size: 10px; font-weight: 700; }
.console-primary-action { width: calc(100% - 30px); min-height: 47px; margin: 15px; padding: 0 17px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #075ee4; border-radius: 5px; color: #fff; background: #075ee4; font-size: 13px; font-weight: 720; }
.console-primary-action .bi-chevron-right { margin-left: auto; }

.console-table-wrap { overflow-x: auto; }
.activity-panel table { width: 100%; border-collapse: collapse; min-width: 740px; }
.activity-panel th, .activity-panel td { padding: 10px 14px; border-bottom: 1px solid #e5eaf0; color: #50627a; font-size: 10px; text-align: left; white-space: nowrap; }
.activity-panel th { color: #64758c; background: #fbfcfe; font-weight: 650; }
.activity-panel tbody tr:last-child td { border-bottom: 0; }
.activity-panel td button { border: 0; color: #61718a; background: transparent; }
.status-badge { min-height: 26px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; font-weight: 700; }
.status-badge.success { color: #087657; background: #e7f7f1; }

.health-panel > button:not(.health-footer) { width: 100%; min-height: 67px; padding: 11px 17px; display: grid; grid-template-columns: 28px 1fr auto; gap: 11px; align-items: center; border: 0; border-bottom: 1px solid #e4e9f0; color: #075ee4; background: #fff; text-align: left; }
.health-panel > button > .bi { font-size: 20px; }
.health-panel > button > .health-ok { color: #0aa36f; }
.health-panel > button span { display: grid; gap: 3px; }
.health-panel > button strong { color: #18304f; font-size: 11px; }
.health-panel > button small { color: #687891; font-size: 10px; }
.health-panel > button em { padding: 4px 11px; border-radius: 5px; color: #087657; background: #e7f7f1; font-size: 10px; font-style: normal; }
.health-panel .health-footer { min-height: 47px; padding: 0 17px; border: 0; color: #075ee4; background: #fff; font-size: 10px; font-weight: 650; }

.console-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.console-drawer.open { visibility: visible; opacity: 1; }
.console-drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(7, 24, 48, .46); }
.console-drawer > section { position: absolute; top: 0; right: 0; width: min(440px, 100%); height: 100%; padding: 25px; overflow-y: auto; background: #fff; box-shadow: -14px 0 40px rgba(13, 33, 70, .16); transform: translateX(100%); transition: transform .22s ease; }
.console-drawer.open > section { transform: translateX(0); }
.console-drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.console-drawer-heading small { color: #075ee4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.console-drawer-heading h2 { margin: 4px 0 0; font-size: 25px; }
.console-drawer-heading button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dae2ec; border-radius: 5px; background: #fff; }
.console-drawer > section > p { margin: 22px 0; color: #61718a; font-size: 12px; line-height: 1.6; }
.console-app-list { display: grid; gap: 10px; }
.console-app-list article { min-height: 78px; padding: 14px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border: 1px solid #dae2ec; border-radius: 6px; }
.console-app-list article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: #075ee4; background: #edf5ff; font-size: 19px; }
.console-app-list article div { display: grid; gap: 5px; }
.console-app-list article strong { font-size: 13px; }
.console-app-list article small { color: #687891; font-size: 10px; }
.console-app-list article em { padding: 5px 8px; border-radius: 5px; color: #087657; background: #e7f7f1; font-size: 10px; font-style: normal; }
.console-app-list article em.testing { color: #8a5800; background: #fff3d6; }

.console-toast { position: fixed; right: 24px; bottom: 24px; z-index: 120; max-width: min(360px, calc(100% - 48px)); padding: 12px 16px; visibility: hidden; opacity: 0; transform: translateY(8px); border: 1px solid #b9c9dc; border-radius: 5px; color: #fff; background: #0d315d; box-shadow: 0 14px 34px rgba(10, 32, 67, .22); font-size: 12px; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.console-toast.visible { visibility: visible; opacity: 1; transform: translateY(0); }

.console-shell.sidebar-collapsed { --console-sidebar: 74px; }
.console-shell.sidebar-collapsed .console-sidebar { padding-inline: 9px; }
.console-shell.sidebar-collapsed .console-brand { margin-inline: 2px; padding: 5px; }
.console-shell.sidebar-collapsed .brand-logo-console { display: none; }
.console-shell.sidebar-collapsed .brand-symbol-console { display: block; }
.console-shell.sidebar-collapsed .console-nav-item span, .console-shell.sidebar-collapsed .console-trust-note, .console-shell.sidebar-collapsed .console-sidebar-collapse span { display: none; }
.console-shell.sidebar-collapsed .console-nav-item { justify-content: center; padding-inline: 0; }
.console-shell.sidebar-collapsed .console-sidebar-collapse { justify-content: center; }
.console-shell.sidebar-collapsed .console-sidebar-collapse .bi { transform: rotate(180deg); }

@media (max-width: 1100px) {
  .console-primary-grid, .console-secondary-grid { grid-template-columns: 1fr; }
  .tasks-panel { order: -1; }
}

@media (max-width: 820px) {
  .console-shell { display: block; }
  .console-sidebar { position: fixed; left: 0; width: 252px; transform: translateX(-100%); box-shadow: 14px 0 40px rgba(7, 24, 48, .22); }
  .console-shell.mobile-menu-open .console-sidebar { transform: translateX(0); }
  .console-mobile-menu { display: grid; place-items: center; }
  .console-topbar { padding-inline: 16px; }
  .console-organization { margin-right: auto; }
  .console-user strong, .console-user > .bi, .console-icon-button { display: none; }
  .console-content { padding-inline: 16px; }
  .console-metrics { grid-template-columns: 1fr; }
  .console-metrics article { min-height: 96px; }
}

@media (max-width: 560px) {
  .console-topbar-actions { gap: 6px; }
  .console-environment { padding-inline: 8px; font-size: 10px; }
  .console-organization { font-size: 12px; }
  .console-heading h1 { font-size: 25px; }
  .console-panel-heading { align-items: flex-start; min-height: auto; padding-block: 13px; }
  .console-period button { min-width: 46px; padding-inline: 8px; }
  .console-chart-wrap { height: 220px; padding-inline: 8px; }
  .task-list li { grid-template-columns: 24px 1fr; }
  .task-list li button { grid-column: 2; justify-self: start; }
  .distribution-legend { gap: 9px 16px; }
  .console-user > span { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .console-sidebar, .console-drawer, .console-drawer > section, .console-toast { transition: none; }
}
/* Customer authentication and live console states */
.customer-auth-page { min-width: 320px; background: #f7f9fc; }
.customer-auth-main { min-height: 100vh; }
.customer-login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, .86fr) minmax(520px, 1.14fr); }
.customer-login-brand { padding: clamp(42px, 6vw, 86px); display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: #06234a; }
.customer-login-brand .console-brand { margin: 0; }
.customer-login-brand > div:not(.console-trust-note) { max-width: 560px; }
.customer-login-brand .section-kicker { color: #87b8ff; }
.customer-login-brand h1 { margin: 8px 0 18px; color: #fff; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -1.8px; }
.customer-login-brand p { margin: 0; color: #c8d7e9; font-size: 16px; line-height: 1.7; }
.customer-login-brand .console-trust-note { max-width: 430px; margin: 28px 0 0; }
.customer-login-card { width: min(470px, calc(100% - 48px)); margin: auto; padding: 54px 48px; border: 1px solid #dce3ec; border-radius: 8px; background: #fff; box-shadow: 0 24px 60px rgba(20, 45, 82, .09); }
.customer-login-card > .section-kicker { margin-bottom: 8px; }
.customer-login-card h2 { margin: 0; color: #0d2146; font-size: 30px; letter-spacing: -.6px; }
.customer-login-card > p { margin: 9px 0 29px; color: #687891; font-size: 13px; }
.customer-login-mobile-brand { display: none; width: fit-content; text-decoration: none; }
.brand-logo-mobile { width: 184px; }
.login-validation { margin-bottom: 15px; color: #b42318; font-size: 12px; }
.login-validation:empty { display: none; }
.login-validation ul { margin: 0; padding-left: 18px; }
.login-field { display: grid; gap: 7px; margin-bottom: 17px; }
.login-field label { color: #213755; font-size: 12px; font-weight: 700; }
.login-field > input, .password-field input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cbd6e3; border-radius: 5px; color: #132a4b; background: #fff; font-size: 13px; }
.login-field > input:focus, .password-field input:focus { border-color: #075ee4; outline: 3px solid rgba(7, 94, 228, .12); }
.login-field > span { color: #b42318; font-size: 11px; }
.password-field { position: relative; }
.password-field input { padding-right: 47px; }
.password-field button { position: absolute; top: 5px; right: 5px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; color: #60738d; background: #fff; }
.customer-login-submit { width: 100%; margin: 8px 0 0; }
.customer-login-submit .bi { margin-left: auto; }
.customer-forgot-link { margin: -5px 0 8px; display: block; color: #075ee4; font-size: 12px; font-weight: 700; text-align: right; text-decoration: none; }
.customer-forgot-link:hover { text-decoration: underline; }
.login-success { margin: 18px 0 24px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid #b8e5d3; border-radius: 6px; color: #126347; background: #effbf6; }
.login-success > i { margin-top: 1px; font-size: 20px; }
.login-success strong, .login-success span { display: block; }
.login-success strong { font-size: 13px; }
.login-success span { margin-top: 3px; font-size: 11px; line-height: 1.5; }
.customer-login-back { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: #526781; font-size: 12px; text-decoration: none; }
.customer-login-back:hover { color: #075ee4; }

.console-organization { display: inline-flex; align-items: baseline; gap: 9px; }
.console-organization small { color: #718199; font-size: 10px; font-weight: 600; }
.console-environment > i.offline, .console-live-dot.offline { background: #e36b00; }
.console-trend.down { color: #c24132; }
.status-badge.neutral { color: #52637b; background: #eef2f6; }
.distribution-empty { min-height: 34px; padding: 8px 11px; border: 1px dashed #cbd7e6; border-radius: 5px; color: #687891; background: #fafbfd; font-size: 11px; }
.task-list li.task-empty { min-height: 91px; grid-template-columns: 26px 1fr; align-items: center; }
.task-list li.task-empty > .bi { color: #0aa36f; }
.console-empty-cell { height: 120px; color: #6d7d91 !important; text-align: center !important; }
.console-drawer-empty { padding: 28px 17px; border: 1px dashed #cbd7e6; border-radius: 6px; color: #687891; text-align: center; font-size: 12px; }

.console-user-area { position: relative; }
.console-user-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: 250px; padding: 14px; border: 1px solid #d5deea; border-radius: 6px; background: #fff; box-shadow: 0 18px 40px rgba(13, 33, 70, .16); }
.console-user-menu strong, .console-user-menu span { display: block; overflow-wrap: anywhere; }
.console-user-menu strong { color: #18304f; font-size: 12px; }
.console-user-menu span { margin-top: 4px; color: #687891; font-size: 10px; }
.console-user-menu form { margin-top: 13px; padding-top: 11px; border-top: 1px solid #e4e9f0; }
.console-user-menu form button { width: 100%; min-height: 36px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 4px; color: #a3281a; background: #fff5f3; font-size: 11px; font-weight: 700; }

.console-load-error { min-height: 100vh; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #f7f9fc; }
.console-load-error .console-brand { margin: 0 0 48px; color: #0d2146; }
.console-load-error > .bi { color: #d16a00; font-size: 48px; }
.console-load-error h1 { margin: 20px 0 8px; font-size: 28px; }
.console-load-error p { max-width: 620px; margin: 0 0 24px; color: #687891; line-height: 1.6; }

@media (max-width: 900px) {
  .customer-login-shell { grid-template-columns: 1fr; }
  .customer-login-brand { display: none; }
  .customer-login-card { margin-block: 36px; }
  .customer-login-mobile-brand { display: inline-flex; margin-bottom: 42px; }
}

@media (max-width: 520px) {
  .customer-login-card { width: calc(100% - 28px); padding: 35px 24px; }
  .console-organization small { display: none; }
}
/* Customer commercial plan workflow */
.console-nav a.console-nav-item { text-decoration: none; }
.commercial-shell { min-height: 100vh; color: #102645; background: #f5f7fb; }
.commercial-header { min-height: 68px; padding: 0 clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce3ec; background: #fff; }
.commercial-header .console-brand { margin: 0; color: #0d2146; text-decoration: none; }
.commercial-back { display: inline-flex; align-items: center; gap: 8px; color: #526781; font-size: 13px; font-weight: 650; text-decoration: none; }
.commercial-back:hover { color: #075ee4; }
.commercial-content { max-width: 1320px; margin: 0 auto; padding: 44px 26px 72px; }
.commercial-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.commercial-heading > div:first-child { max-width: 720px; }
.commercial-heading small { color: #075ee4; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.commercial-heading h1 { margin: 7px 0 10px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; }
.commercial-heading p { margin: 0; color: #687891; line-height: 1.65; }
.commercial-current-plan { min-width: 230px; padding: 18px 20px; display: grid; gap: 3px; border: 1px solid #bfd2ed; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(13, 33, 70, .06); }
.commercial-current-plan strong { font-size: 21px; }
.commercial-current-plan span { color: #687891; font-size: 12px; }
.commercial-message { margin-top: 22px; padding: 13px 16px; border-radius: 6px; font-size: 13px; }
.commercial-message:empty { display: none; }
.commercial-message.success { color: #087657; border: 1px solid #b5e4d2; background: #eaf9f3; }
.commercial-message.error { color: #9c2f21; border: 1px solid #f0c6bf; background: #fff4f2; }
.commercial-message ul { margin: 0; }
.commercial-plan-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.commercial-plan { padding: 25px; display: flex; flex-direction: column; border: 1px solid #d8e1ec; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgba(13, 33, 70, .04); }
.commercial-plan.current { border-color: #075ee4; box-shadow: inset 0 3px #075ee4, 0 14px 34px rgba(7, 94, 228, .09); }
.commercial-plan > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.commercial-plan > div span { padding: 5px 8px; border-radius: 5px; color: #075ee4; background: #edf5ff; font-size: 10px; font-weight: 700; }
.commercial-plan h2 { margin: 0; font-size: 20px; }
.commercial-plan > strong { margin-top: 24px; font-size: 31px; letter-spacing: -1px; }
.commercial-plan > small { color: #687891; font-size: 11px; }
.commercial-plan > p { min-height: 52px; margin: 18px 0; color: #61718a; font-size: 12px; line-height: 1.55; }
.commercial-plan form { margin-top: auto; display: grid; gap: 8px; }
.commercial-plan label { color: #354b67; font-size: 11px; font-weight: 700; }
.commercial-plan label span { color: #7b899b; font-weight: 500; }
.commercial-plan input:not([type="checkbox"]), .commercial-plan select, .commercial-plan textarea { width: 100%; padding: 10px 11px; border: 1px solid #cbd6e3; border-radius: 5px; background: #fff; font-size: 12px; }
.commercial-plan textarea { resize: vertical; }
.commercial-plan .commercial-consent { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 5px; background: #f4f7fb; line-height: 1.45; }
.commercial-plan .commercial-consent input { margin-top: 2px; }
.commercial-plan button { min-height: 42px; margin-top: auto; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #075ee4; border-radius: 5px; color: #fff; background: #075ee4; font-size: 12px; font-weight: 720; }
.commercial-plan button:disabled { color: #087657; border-color: #b5e4d2; background: #eaf9f3; }
.commercial-role-note { min-height: auto !important; margin-top: auto !important; color: #8a5800 !important; }
.commercial-history { margin-top: 24px; overflow: hidden; border: 1px solid #d8e1ec; border-radius: 8px; background: #fff; }
.commercial-history table { width: 100%; min-width: 760px; border-collapse: collapse; }
.commercial-history th, .commercial-history td { padding: 12px 15px; border-bottom: 1px solid #e5eaf0; color: #50627a; font-size: 11px; text-align: left; }
.commercial-history th { background: #fbfcfe; }
.commercial-empty { padding: 44px 20px; color: #687891; text-align: center; font-size: 13px; }
@media (max-width: 900px) { .commercial-plan-grid { grid-template-columns: 1fr; } .commercial-heading { display: grid; } .commercial-current-plan { width: 100%; } }
@media (max-width: 560px) { .commercial-header { padding-inline: 16px; } .commercial-content { padding: 30px 15px 50px; } .commercial-back { font-size: 0; } .commercial-back .bi { font-size: 20px; } }
.commercial-history .commercial-cancel { min-height: 30px; padding: 0 10px; border: 1px solid #e5bcb6; border-radius: 4px; color: #a3281a; background: #fff5f3; font-size: 10px; font-weight: 700; }

/* Document vault */
.lifecycle-section { padding: 84px max(32px, calc((100vw - 1280px) / 2)); background: #f5f8fc; }
.lifecycle-section .section-heading { max-width: 700px; }
.lifecycle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.lifecycle-grid article { padding: 28px; border: 1px solid #d8e2ee; border-radius: 8px; background: #fff; }
.lifecycle-grid article > .bi { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #075ee4; background: #edf5ff; font-size: 21px; }
.lifecycle-grid h3 { margin: 20px 0 8px; font-size: 18px; }
.lifecycle-grid p { margin: 0; color: #687891; font-size: 13px; line-height: 1.6; }
.archive-heading .commercial-current-plan { max-width: 340px; }
.archive-notice { margin-top: 20px; padding: 12px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #b9d0f2; border-radius: 8px; color: #183f74; background: #edf5ff; }
.archive-summary { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.archive-summary article { padding: 19px 21px; display: flex; align-items: center; gap: 14px; border: 1px solid #d8e1ec; border-radius: 8px; background: #fff; }
.archive-summary article > .bi { color: #075ee4; font-size: 25px; }
.archive-summary span, .archive-summary strong, .archive-summary small, .archive-file-name, .archive-file-meta { display: block; }
.archive-summary strong { font-size: 20px; }
.archive-summary small, .archive-file-meta { margin-top: 2px; color: #718199; font-size: 10px; }
.archive-table { margin-top: 18px; }
.archive-table table { min-width: 1320px; }
.archive-file-name { max-width: 280px; overflow-wrap: anywhere; color: #18304f; font-size: 12px; }
.archive-purged { color: #687891; }
.archive-actions-cell { min-width: 260px; max-width: 340px; }
.archive-primary-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-action-link { padding: 7px 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #b9d0f2; border-radius: 5px; color: #075ee4; background: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.archive-action-link.signed { border-color: #91d6c0; color: #087a59; }
.archive-action-link:hover { color: #064cad; background: #edf5ff; }
.archive-action-link.signed:hover { color: #056047; background: #edf9f5; }
.archive-action-link:focus-visible, .archive-proof summary:focus-visible { outline: 3px solid rgba(7, 94, 228, .28); outline-offset: 2px; }
.archive-proof { margin-top: 8px; }
.archive-proof summary { width: fit-content; display: flex; align-items: center; gap: 6px; color: #304965; cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.archive-proof summary::-webkit-details-marker { display: none; }
.archive-proof summary::after { content: "+"; color: #075ee4; font-size: 16px; line-height: 1; }
.archive-proof[open] summary::after { content: "−"; }
.archive-proof-panel { margin-top: 9px; padding: 12px; border: 1px solid #d8e1ec; border-radius: 7px; background: #f8fafc; }
.archive-proof-panel > div + div { margin-top: 9px; }
.archive-proof-panel small { display: block; color: #64758c; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.archive-proof-panel code { display: block; margin-top: 3px; color: #18304f; font-size: 9px; overflow-wrap: anywhere; white-space: normal; }
.archive-proof-panel dl { margin: 11px 0 0; display: grid; gap: 5px; }
.archive-proof-panel dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.archive-proof-panel dt { color: #64758c; font-size: 10px; font-weight: 600; }
.archive-proof-panel dd { margin: 0; color: #18304f; font-size: 10px; }
.archive-proof-panel p { margin: 11px 0 0; padding: 9px; display: flex; align-items: flex-start; gap: 7px; border-radius: 5px; font-size: 10px; line-height: 1.45; }
.archive-proof-panel p.verified { color: #075b43; background: #e7f7f1; }
.archive-proof-panel p.pending { color: #765b16; background: #fff7dc; }
.archive-unavailable { color: #78879b; font-size: 10px; line-height: 1.4; }
@media (max-width: 900px) { .lifecycle-grid, .archive-summary { grid-template-columns: 1fr; } .archive-heading { gap: 20px; } }
.agent-download-section {
  padding: 0 0 2rem;
}

.agent-download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(27, 72, 155, .16);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  box-shadow: 0 16px 40px rgba(25, 55, 110, .08);
}

.agent-download-card h2 { margin: .25rem 0 .5rem; }
.agent-download-card p { margin: 0 0 .8rem; color: #536078; }
.agent-download-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  color: #fff;
  background: #123f96;
  font-size: 1.7rem;
}

.agent-download-meta {
  margin-bottom: .85rem;
  color: #273b61;
  font-size: .9rem;
  font-weight: 700;
}

.agent-download-unavailable {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: .75rem;
  color: #7a4a00;
  background: #fff4d6;
}

@media (max-width: 640px) {
  .agent-download-card { grid-template-columns: 1fr; }
}

/* KandoSigner self-service trial */
.free-usage-section {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 3rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #10283f, #123c5b 60%, #0f5a73);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 3rem;
    box-shadow: 0 24px 60px rgba(8, 31, 49, .18);
}
.free-usage-copy h2 { max-width: 650px; margin: .7rem 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; }
.free-usage-copy p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.free-usage-copy .section-kicker { color: #7de0cd; }
.free-usage-copy .button { margin-top: 1rem; background: #fff; color: #10283f; }
.free-usage-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.free-usage-facts article { min-height: 135px; padding: 1.35rem; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: space-between; }
.free-usage-facts strong { font-size: 2.6rem; color: #7de0cd; }
.free-usage-facts i { font-size: 1.8rem; color: #7de0cd; }
.free-usage-facts span { color: rgba(255,255,255,.9); font-weight: 650; }

.trial-signup-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .9fr) minmax(520px, 1.1fr); background: #eef4f6; }
.trial-signup-story { padding: clamp(2rem, 5vw, 5rem); background: linear-gradient(155deg, #0d263b, #113d58); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.trial-signup-story h1 { max-width: 620px; margin: .75rem 0 1rem; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; }
.trial-signup-story p { max-width: 620px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.trial-signup-story .section-kicker { color: #7de0cd; }
.trial-signup-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.trial-signup-steps li { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); }
.trial-signup-steps li > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #7de0cd; color: #092237; font-weight: 800; }
.trial-signup-steps div { display: flex; flex-direction: column; }
.trial-signup-steps small { color: rgba(255,255,255,.65); }
.trial-signup-card { align-self: center; width: min(720px, calc(100% - 3rem)); margin: 3rem auto; padding: clamp(2rem, 4vw, 3.5rem); border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(15, 43, 62, .12); }
.trial-signup-card h2 { margin: 1.1rem 0 .35rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.trial-signup-card > p { color: #667783; }
.trial-signup-card a { color: #087f70; font-weight: 700; }
.trial-quota-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .85rem; border-radius: 999px; background: #e8faf6; color: #08695e; }
.trial-quota-pill strong { font-size: 1.3rem; }
.trial-signup-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.trial-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trial-password-help { margin: -.4rem 0 0; color: #687982; font-size: .82rem; }
.trial-terms { display: flex; align-items: flex-start; gap: .7rem; color: #526672; font-size: .9rem; }
.trial-terms input { width: 18px; height: 18px; margin-top: .15rem; accent-color: #0a8978; }
.trial-terms input:disabled { cursor: not-allowed; opacity: .55; }
.trial-privacy-gate { display: grid; gap: .75rem; padding: .85rem; border: 1px solid #d8e4e8; border-radius: 16px; background: #f7fafb; }
.trial-privacy-open { width: 100%; padding: .2rem; border: 0; background: transparent; color: #12344a; display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; text-align: left; }
.trial-privacy-open > i:first-child { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #def5ef; color: #087b6d; font-size: 1.1rem; }
.trial-privacy-open > i:last-child { color: #087b6d; }
.trial-privacy-open span { display: flex; flex-direction: column; gap: .12rem; }
.trial-privacy-open small { color: #687982; font-weight: 500; }
.trial-privacy-open:hover strong, .trial-privacy-open:focus-visible strong { color: #087b6d; }
.trial-privacy-acknowledgement { margin: 0 .2rem; }
.trial-privacy-modal .modal-dialog { max-width: 720px; }
.trial-privacy-modal .modal-content { overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(7, 31, 49, .24); }
.trial-privacy-modal .modal-header { padding: 1.5rem 1.6rem 1.1rem; align-items: flex-start; border-bottom-color: #e3eaed; background: linear-gradient(135deg, #f5fbfa, #fff); }
.trial-privacy-modal .modal-title { margin: .25rem 0 0; color: #10283f; font-size: 1.65rem; }
.trial-privacy-modal .modal-body { padding: 1.4rem 1.6rem; color: #526672; }
.trial-privacy-modal .modal-body section { padding: 1rem 0; border-top: 1px solid #e2eaed; }
.trial-privacy-modal .modal-body h3 { margin: 0 0 .4rem; color: #16384e; font-size: 1rem; }
.trial-privacy-modal .modal-body p { margin: 0; line-height: 1.65; }
.trial-privacy-intro { padding-bottom: 1rem; color: #334f5d; }
.trial-privacy-detail-link { padding-top: 1rem; border-top: 1px solid #e2eaed; }
.trial-privacy-modal .modal-footer { padding: 1rem 1.6rem 1.4rem; border-top-color: #e3eaed; }
.trial-signup-submit { justify-content: center; min-height: 52px; }
.trial-signup-submit:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.trial-no-card { text-align: center; display: block; margin-top: 1rem; color: #74838c; }
.login-organization-details { margin: .2rem 0 .8rem; }
.login-organization-details summary { color: #506a77; cursor: pointer; font-size: .9rem; }
.login-organization-details .login-field { margin-top: 1rem; }
.customer-create-account { margin: 1.2rem 0; padding: 1rem; border-radius: 14px; background: #f2f8f7; display: flex; flex-direction: column; gap: .2rem; }
.customer-create-account span { color: #61737d; font-size: .88rem; }
.customer-create-account a { color: #087f70; font-weight: 750; }

.trial-welcome-banner { margin-bottom: 1.25rem; padding: 1rem 1.2rem; border: 1px solid #a9e1d5; border-radius: 16px; background: #ebfaf6; color: #145d53; display: flex; gap: .9rem; align-items: center; }
.trial-welcome-banner i { font-size: 1.6rem; }
.trial-welcome-banner div { display: flex; flex-direction: column; }
.console-agent-onboarding { margin-bottom: 1.4rem; padding: 1.5rem; border-radius: 20px; border: 1px solid #dce7eb; background: linear-gradient(120deg, #fff, #f4f9fa); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; box-shadow: 0 8px 28px rgba(16, 50, 70, .06); }
.console-agent-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #dff5f0; color: #087b6d; font-size: 1.8rem; }
.console-agent-copy h2 { margin: .2rem 0 .35rem; font-size: 1.25rem; }
.console-agent-copy p { margin: 0; color: #657781; }
.console-agent-copy ul { margin: .7rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .82rem; color: #405d69; }
.console-agent-copy li::before { content: "✓"; color: #078572; font-weight: 900; margin-right: .35rem; }
.console-agent-action { min-width: 210px; display: flex; flex-direction: column; align-items: stretch; gap: .45rem; text-align: center; }
.console-agent-action > span { color: #3d5b67; font-size: .82rem; font-weight: 700; }
.console-agent-action small { color: #71818a; }
.agent-release-unavailable { padding: .8rem; border-radius: 12px; background: #fff6df; color: #7b5a0b !important; }

@media (max-width: 960px) {
    .free-usage-section, .trial-signup-shell { grid-template-columns: 1fr; }
    .trial-signup-story { min-height: auto; }
    .console-agent-onboarding { grid-template-columns: auto 1fr; }
    .console-agent-action { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .free-usage-section { padding: 2rem 1.25rem; border-radius: 20px; }
    .free-usage-facts, .trial-password-grid { grid-template-columns: 1fr; }
    .trial-signup-shell { display: block; }
    .trial-signup-story { padding: 2rem 1.25rem; }
    .trial-signup-card { width: calc(100% - 1.5rem); margin: .75rem auto; padding: 1.5rem; }
    .console-agent-onboarding { grid-template-columns: 1fr; }
    .console-agent-icon { width: 52px; height: 52px; }
}
.legal-page { max-width: 900px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.legal-page > .section-kicker { display: block; margin-top: 3rem; }
.legal-page h1 { margin: .6rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
.legal-lead { color: #61747e; font-size: 1.1rem; }
.legal-page article { padding: 1.5rem 0; border-top: 1px solid #dce6e9; }
.legal-page article h2 { font-size: 1.25rem; }
.legal-page article p { margin: 0; color: #536873; }
.legal-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.storage-overview-grid,
.storage-provider-grid,
.storage-plan-grid { display: grid; gap: 18px; }
.storage-overview-grid { grid-template-columns: 2fr 1fr; margin-bottom: 22px; }
.storage-usage-card,
.storage-policy-card,
.storage-provider-card,
.storage-plan-card,
.storage-security-note { border: 1px solid #dce5f2; border-radius: 18px; background: #fff; padding: 24px; }
.storage-usage-card > strong,
.storage-policy-card > strong { display: block; color: #09224a; font-size: 1.55rem; margin: 10px 0; }
.storage-progress { height: 10px; overflow: hidden; border-radius: 999px; background: #eaf0f8; }
.storage-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f67e8, #18a985); }
.storage-section { margin-top: 22px; }
.storage-provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.storage-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.storage-provider-card.active,
.storage-plan-card.current { border-color: #159a75; box-shadow: 0 0 0 2px rgba(21, 154, 117, .08); }
.storage-provider-title { display: flex; gap: 12px; align-items: center; }
.storage-provider-title h3,
.storage-plan-card h3 { color: #09224a; margin: 0; }
.storage-provider-title span,
.storage-plan-card > span { color: #63738d; font-size: .82rem; }
.storage-provider-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #0f67e8; background: #edf5ff; font-size: 1.2rem; }
.storage-provider-card p,
.storage-plan-card p,
.storage-security-note p { color: #5b6b84; }
.storage-provider-card button { width: 100%; margin-top: 16px; border: 0; border-radius: 10px; padding: 10px; color: #52627a; background: #eef2f7; }
.storage-provider-card.active button { color: #087a5c; background: #e7f7f1; }
.storage-plan-card > strong { display: block; color: #0f67e8; font-size: 1.45rem; margin: 10px 0; }
.storage-plan-card a { color: #0f67e8; font-weight: 700; text-decoration: none; }
.storage-security-note { display: flex; gap: 14px; margin-top: 22px; background: #f2f8ff; }
.storage-security-note > i { color: #0f67e8; font-size: 1.5rem; }
@media (max-width: 1100px) { .storage-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .storage-overview-grid, .storage-provider-grid, .storage-plan-grid { grid-template-columns: 1fr; } }
/* Signing journey navigation */
.signer-header { position: relative; gap: 20px; border: 1px solid var(--line); border-bottom-color: #cfd8e5; }
.signer-brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo-signing { width: 214px; }
.signer-header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.signer-nav-link { min-height: 38px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 9px; color: #40546e; background: transparent; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.signer-nav-link:hover { color: var(--blue-strong); border-color: #d5dfec; background: #f6f9fd; }
.signer-nav-link:focus-visible, .signer-progress a:focus-visible, .signing-completion:focus-visible { outline: 3px solid rgba(23, 92, 211, .25); outline-offset: 2px; }
.signer-header .status { width: auto; margin: 0 0 0 8px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #fff7dd; white-space: nowrap; }
.signer-header .status.completed { color: #087657; background: #e8f8f2; }
.signer-header .status.failed,
.signer-header .status.rejected,
.signer-header .status.expired,
.signer-header .status.cancelled { color: #a03226; background: #fff0ee; }

.signer-progress { margin: 16px 0 18px; padding: 18px 24px; border: 1px solid #dbe3ee; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(23, 43, 77, .05); }
.signer-progress ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.signer-progress li { position: relative; min-width: 0; display: flex; align-items: center; gap: 11px; color: #7a8799; }
.signer-progress li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 18px; left: 42px; right: 12px; height: 2px; background: #e2e8f0; }
.signer-progress li > span { position: relative; z-index: 1; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 2px solid #d7e0eb; border-radius: 50%; background: #fff; font-size: 15px; }
.signer-progress li > div { position: relative; z-index: 1; min-width: 0; padding-right: 10px; background: #fff; }
.signer-progress strong, .signer-progress small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signer-progress strong { color: #4d5f76; font-size: 12px; }
.signer-progress small { margin-top: 2px; font-size: 10px; }
.signer-progress li.complete { color: #087657; }
.signer-progress li.complete > span { color: #fff; border-color: #159a75; background: #159a75; }
.signer-progress li.complete:not(:last-child)::after { background: #70c7ae; }
.signer-progress li.complete strong { color: #087657; }
.signer-progress li.active { color: var(--blue-strong); }
.signer-progress li.active > span { color: #fff; border-color: var(--blue-strong); background: var(--blue-strong); box-shadow: 0 0 0 5px rgba(23, 92, 211, .1); }
.signer-progress li.active strong { color: var(--blue-strong); }

.signing-feedback { min-height: 48px; margin-top: 16px; padding: 11px 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #d9e5f3; border-radius: 10px; color: #344054; background: #f7faff; }
.signing-feedback > .bi { margin-top: 4px; color: var(--blue-strong); }
.signing-feedback.success { border-color: #a9ddcc; color: #075b43; background: #ecf9f4; }
.signing-feedback.success > .bi { color: #087657; }
.signing-feedback.error { border-color: #efc0bb; color: #a1281e; background: #fff4f2; }
.signing-feedback.error > .bi { color: #b42318; }
.flow-status { min-width: 0; min-height: 0; margin: 0; line-height: 1.55; overflow-wrap: anywhere; }

.signing-completion { margin-top: 16px; padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 15px; border: 1px solid #9ed9c5; border-radius: 14px; background: linear-gradient(135deg, #effbf7, #f8fffc); }
.completion-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #159a75; font-size: 21px; }
.signing-completion h3 { margin: 4px 0 6px; color: #0b4f3c; font-size: 19px; }
.signing-completion p { margin: 0; color: #4e6d63; font-size: 12px; line-height: 1.5; }
.completion-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.completion-actions .primary-button, .completion-actions .secondary-button { min-height: 42px; gap: 8px; font-size: 12px; }
.completion-console-link { grid-column: 1 / -1; width: fit-content; display: inline-flex; align-items: center; gap: 7px; color: #335b70; font-size: 12px; font-weight: 700; text-decoration: none; }
.completion-console-link:hover { color: var(--blue-strong); }
.field-row input:disabled, .field-row select:disabled, .consent-row input:disabled { cursor: not-allowed; opacity: .72; }

@media (max-width: 900px) {
  .signer-header { align-items: center; }
  .signer-header-nav { order: 3; width: 100%; margin-left: 0; padding-top: 10px; border-top: 1px solid #e7ecf2; }
  .signer-header .status { margin-left: auto; }
}

@media (max-width: 620px) {
  .signer-flow { padding-inline: 10px; }
  .signer-header { padding: 16px; gap: 10px; }
  .signer-brand { min-width: 0; flex: 1; }
  .brand-logo-signing { width: 168px; }
  .signer-header .status { order: 2; width: 100%; margin: 0; padding: 7px 9px; justify-content: center; font-size: 11px; }
  .signer-header-nav { order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signer-nav-link { min-width: 0; justify-content: center; padding-inline: 4px; font-size: 10px; white-space: nowrap; }
  .signer-progress { padding: 15px; overflow: visible; }
  .signer-progress ol { min-width: 0; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .signer-progress li:not(:last-child)::after { display: none; }
  .signer-progress li > div { padding-right: 0; }
  .signer-progress strong, .signer-progress small { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .signer-card { padding: 1.15rem; }
  .completion-actions { display: grid; }
  .completion-actions .primary-button, .completion-actions .secondary-button { width: 100%; }
}

.commercial-feature-list {
    display: grid;
    gap: .45rem;
    margin: .9rem 0 1.1rem;
    padding: 0;
    list-style: none;
    color: var(--console-muted, #52627a);
    font-size: .9rem;
}

.commercial-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
}

.commercial-feature-list i {
    margin-top: .1rem;
    color: #0c9b72;
}

/* Başvurudan satışa müşteri yolculuğu */
.public-pricing-section { width: min(calc(100% - 40px), var(--content-width)); margin: 96px auto; }
.public-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.public-plan-card { min-width: 0; padding: 26px; display: flex; flex-direction: column; border: 1px solid #d8e3ef; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(13, 39, 79, .07); }
.public-plan-card.featured { border-color: #1769e8; box-shadow: inset 0 4px #1769e8, 0 22px 55px rgba(23, 105, 232, .13); }
.public-plan-card > span { align-self: flex-start; padding: 6px 9px; border-radius: 999px; color: #075ee4; background: #edf5ff; font-size: 11px; font-weight: 750; }
.public-plan-card h3 { margin: 20px 0 0; font-size: 23px; }
.public-plan-card > strong { margin-top: 22px; color: #0c203f; font-size: 32px; letter-spacing: -1px; }
.public-plan-card > small { color: #687891; font-size: 12px; }
.public-plan-card > p { min-height: 64px; margin: 20px 0; color: #5d6e86; font-size: 13px; line-height: 1.6; }
.public-plan-card ul { min-height: 126px; margin: 0 0 24px; padding: 0; display: grid; align-content: start; gap: 9px; list-style: none; }
.public-plan-card li { display: flex; gap: 8px; color: #314662; font-size: 12px; }
.public-plan-card li i { color: #078468; }
.public-plan-card .button { margin-top: auto; justify-content: center; }
.public-pricing-note { max-width: 920px; margin: 24px auto 0; color: #687891; font-size: 12px; text-align: center; }
.customer-journey-card { margin-bottom: 1.4rem; padding: 1.5rem; border: 1px solid #dce7ef; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(16, 50, 70, .06); }
.customer-journey-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.customer-journey-heading h2 { margin: 3px 0 0; font-size: 21px; }
.customer-journey-heading a { padding: 10px 13px; border: 1px solid #cbd9eb; border-radius: 10px; color: #075ee4; font-size: 12px; font-weight: 750; text-decoration: none; }
.customer-journey-steps, .commercial-progress-steps { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.customer-journey-steps li, .commercial-progress-steps li { position: relative; min-width: 0; display: flex; align-items: flex-start; gap: 9px; color: #718198; }
.customer-journey-steps li:not(:last-child)::after, .commercial-progress-steps li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 34px; right: 8px; height: 2px; background: #dce5ef; }
.customer-journey-steps li > i, .commercial-progress-steps li > i { position: relative; z-index: 1; width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border: 1px solid #cad7e6; border-radius: 50%; background: #fff; }
.customer-journey-steps li.complete > i, .commercial-progress-steps li.complete > i { border-color: #11866a; color: #fff; background: #11866a; }
.customer-journey-steps li.active > i, .commercial-progress-steps li.active > i { border-color: #1769e8; color: #1769e8; background: #edf5ff; }
.customer-journey-steps li.complete:not(:last-child)::after, .commercial-progress-steps li.complete:not(:last-child)::after { background: #7dc9b6; }
.customer-journey-steps span, .commercial-progress-steps span { position: relative; z-index: 1; min-width: 0; display: grid; gap: 3px; background: #fff; }
.customer-journey-steps strong, .commercial-progress-steps strong { color: #172b49; font-size: 12px; }
.customer-journey-steps small, .commercial-progress-steps small { color: #738198; font-size: 10px; line-height: 1.4; }
.customer-journey-status { margin-top: 18px; padding: 12px 14px; display: flex; gap: 10px; border-radius: 12px; color: #265078; background: #eef6ff; font-size: 12px; }
.commercial-progress-card { margin-top: 24px; padding: 24px; border: 1px solid #d8e3ef; border-radius: 14px; background: linear-gradient(135deg, #fff, #f7faff); box-shadow: 0 12px 32px rgba(13, 39, 79, .05); }
.commercial-progress-card > div small { color: #075ee4; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.commercial-progress-card h2 { margin: 5px 0; font-size: 22px; }
.commercial-progress-card p { margin: 0; color: #64748b; font-size: 12px; }
.commercial-progress-steps span { background: transparent; }
@media (max-width: 1180px) { .public-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .public-pricing-section { width: min(calc(100% - 28px), var(--content-width)); margin: 64px auto; }
  .public-plan-grid { grid-template-columns: 1fr; }
  .public-plan-card > p, .public-plan-card ul { min-height: 0; }
  .customer-journey-heading { display: grid; }
  .customer-journey-steps, .commercial-progress-steps { grid-template-columns: 1fr; gap: 12px; }
  .customer-journey-steps li:not(:last-child)::after, .commercial-progress-steps li:not(:last-child)::after { top: 32px; bottom: -12px; left: 15px; right: auto; width: 2px; height: auto; }
}