/* Picasify identity. Loaded after the legacy layout styles on every surface.
   Avenir typography, burgundy actions, blush emphasis, quiet white work areas. */
:root, .marketing {
  --font-sans: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --blue: #893e50;
  --blue-dark: #642c3c;
  --ink: #2c3038;
  --muted: #666b76;
  --line: #e2e3e8;
  --line-strong: #c9c9d1;
  --canvas: #f6f6f8;
  --paper: #fffdfd;
  --soft-blue: #f6e9ec;
  --mint: #e9f5ef;
  --green: #28704e;
  --red: #b33246;
  --chart-primary: #893e50;
  --chart-uploaded: #c496a5;
  --chart-slate: #667b91;
  --chart-plum: #82728f;
  --chart-gold: #aa8550;
  --radius: 12px;
  --blue-grad: #893e50;
  --ink-grad: #422b36;
  --shadow-dialog: 0 24px 80px #30233133;
  font-family: var(--font-sans);
  color: var(--ink);
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, .marketing h1, .marketing h2, .marketing h3, .marketing .hero-lead {
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -.045em;
}
::selection, .marketing ::selection { color: #fff; background: var(--blue); }
:is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #ac6879; outline-offset: 4px; }
.button, .marketing .button {
  border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff;
  box-shadow: none; font-weight: 600; transition: background .16s, border-color .16s;
}
.button:hover, .marketing .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; box-shadow: none; transform: none; filter: none; }
.button.secondary, .marketing .button.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.button.secondary:hover, .marketing .button.secondary:hover { background: var(--soft-blue); border-color: var(--blue); color: var(--blue-dark); }
.button.danger { background: var(--red); border-color: var(--red); }
.button.danger-outline { background: #fff; color: var(--red); border-color: #e9bfc7; }
.icon-button { border-radius: 8px; }
input, select, textarea { border-radius: 8px; border-color: var(--line-strong); background: #fff; }
input::placeholder, textarea::placeholder { color: #777d88; }
.status, .tier-badge, .notice, .form-error { border-radius: 6px; }
.modal, .image-dialog { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-dialog); }
.modal::backdrop, .image-dialog::backdrop { background: #28222a99; backdrop-filter: blur(3px); }
.modal-head h2 { letter-spacing: -.035em; }
.modal .form-stack { gap: 20px; }

/* Public pages: one restrained visual language, without animated decoration. */
.marketing { background: var(--paper); }
.marketing .page-width { max-width: 1240px; }
.marketing .site-header {
  background: #fffdfdf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
  padding: 16px max(32px, calc((100% - 1240px) / 2 + 40px)); gap: 24px;
}
.marketing .site-header .desktop-navigation { gap: 2px; margin-left: auto; }
.marketing .site-header nav a { font-size: 12px; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.marketing .header-actions { gap: 14px; }
.marketing .header-actions .button-secondary-link { border: 0; padding: 8px 0; background: transparent; border-radius: 0; }
.marketing .text-link:after { content: none; }
.marketing .release-note {
  padding: 0; margin-bottom: 22px; border: 0; background: transparent; border-radius: 0;
  font: 600 13px/1.5 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--blue);
}
.marketing .release-note .dot { animation: none; box-shadow: none; }
.marketing .hero-copy > *, .marketing .pipeline-demo { animation: none !important; }
html.jsr .marketing .rv, html.jsr .marketing .in { opacity: 1; transform: none; transition: none; }
.brand-hero-band { background: #f7edef; border-bottom: 1px solid #eadcE1; }
.marketing .home-hero { grid-template-columns: 1.12fr 1fr; gap: 72px; padding-top: 70px; padding-bottom: 76px; align-items: center; }
.marketing .home-hero h1 { font-size: clamp(44px, 4.7vw, 64px); line-height: 1.05; letter-spacing: -.055em; max-width: 590px; color: var(--ink); }
.home-intro { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--blue-dark); margin-bottom: 25px; }
.home-intro .ui-icon { width: 19px; height: 19px; }
.marketing .hero-lead { font-family: var(--font-sans); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.8; color: #62606c; max-width: 490px; margin-top: 24px; }
.marketing .hero h1 em, .marketing .grad-text { font-style: normal; color: inherit; background: none; }
.marketing .hero-actions { gap: 24px; margin: 28px 0 0; }
.marketing .hero .fineprint { margin: 18px 0 0; padding: 0; border: 0; color: #6f6570; font-size: 12px; }
.mobile-app-preview { margin-top: 28px; }
.mobile-app-preview > p { margin: 0 0 10px; color: #756c76; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge:disabled { display: inline-flex; align-items: center; gap: 10px; min-width: 148px; padding: 10px 14px; border: 1px solid #d9cfd4; border-radius: 8px; background: #f9f4f6; color: #716873; font-family: var(--font-sans); text-align: left; opacity: 1; cursor: not-allowed; box-shadow: none; }
.store-badge img { flex: 0 0 24px; width: 24px; height: 24px; opacity: .5; }
.store-badge span { display: grid; gap: 2px; }
.store-badge small { font-size: 10px; line-height: 1.2; }
.store-badge strong { font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
@media (max-width: 360px) {
  .store-badges { gap: 8px; }
  .store-badge:disabled { min-width: 0; padding: 10px; gap: 8px; }
  .store-badge strong { font-size: 15px; }
}
.marketing .fn-section { padding-top: 48px; padding-bottom: 32px; }
.marketing .fn-card { border-radius: 12px; border: 1px solid var(--line); padding: 28px; background: #fff; box-shadow: none; }
.marketing .problem-card { display: grid; grid-template-columns: 1fr; align-content: start; position: relative; }
.marketing .problem-card:hover { border-color: #b8788b; background: #fffafb; }
.marketing :is(.fn-card, .price-card, .usecase-card, .tier-card, .pipe-output, .value-problems article, .audience-more .step-example, .audience-strip a):hover { transform: none; }
.problem-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 20px; }
.problem-symbol svg { width: 23px; height: 23px; fill: none; stroke: currentColor; }
.money-symbol { background: #f5e7ea; color: #8a3c51; }
.things-symbol { background: #eaeaf4; color: #595575; }
.readings-symbol { background: #e9f0f2; color: #456974; }
.marketing .problem-card .release-note { justify-content: flex-start; justify-self: start; text-align: left; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.marketing .problem-card .dot { display: none; }
.marketing .problem-card h2 { font-size: 24px; line-height: 1.22; margin: 0 0 14px; letter-spacing: -.035em; }
.marketing .problem-card > p:last-child { font-size: 13px; line-height: 1.8; }
.marketing .home-closing-lines { padding-top: 16px; padding-bottom: 56px; }
.home-closing-lines .home-portability { max-width: 850px; margin-inline: auto; font-size: 14px; line-height: 1.8; }
#project-status:not(.shared) { color: var(--muted); background: #efedf1; }
.marketing .note-rows p { font-family: var(--font-sans); }
.marketing .note-rows p:first-child { color: var(--ink); }
.marketing .hero:not(.home-hero) { padding-top: 60px; padding-bottom: 64px; }
.marketing .hero:not(.home-hero) h1 { font-size: clamp(38px, 4.5vw, 58px); }
.marketing .hero-description { color: var(--muted); font-size: 16px; }
.marketing .problem-hero-band .hero { grid-template-columns: 1.3fr .7fr; }
.problem-preview { padding: 36px; border-left: 1px solid #dcc5ce; color: var(--blue-dark); }
.problem-preview > svg { width: 64px; height: 64px; margin-bottom: 24px; }
.problem-preview p { font-size: 13px; margin-bottom: 10px; }
.problem-preview strong { display: block; font-size: 23px; line-height: 1.35; letter-spacing: -.03em; }
.problem-preview span { display: block; font-size: 12px; color: #76616b; margin-top: 16px; }
.problem-content-section { padding-top: 48px; }
.problem-content-section .usecase-tier-head { margin-bottom: 22px; }
.problem-content-section .usecase-tier-head h2 { font-size: 30px; }
.marketing .problem-list { max-width: 900px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 32px; }
.marketing .problem-list li:before { color: var(--blue); }
.marketing .problem-copy { max-width: 850px; font-size: 15px; }
.marketing .closing-cta { background: #f7edef; border: 1px solid #eadce1; box-shadow: none; border-radius: 16px; color: var(--ink); margin-top: 52px; margin-bottom: 64px; }
.marketing .closing-cta h2 { color: var(--ink); }
.marketing .closing-cta p, .marketing .closing-cta > span { color: var(--muted); }
.marketing .closing-cta:before, .marketing .closing-cta:after { display: none; }
.marketing .site-footer { background: #fffdfd; border-top: 1px solid var(--line); padding-top: 48px; }
.marketing .footer-brand p { font: 500 18px/1.5 var(--font-sans); letter-spacing: -.02em; }
.marketing .site-footer nav h2 { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 13px; }
.marketing .site-footer a:not(.brand) { font-size: 12px; }
.marketing .footer-bottom { border-top-color: var(--line); }
.marketing .feature-index, .marketing .audience-project, .marketing .field-record, .marketing .export-contents, .marketing .usecase-card { border-radius: 12px; box-shadow: none; }
.marketing .feature-index { background: #fff; border-color: #dfd2d8; }
.marketing .detail-art { border-radius: 12px; background: #f1eaec; }
.marketing .ocr-note { border-radius: 8px; border-color: var(--line); box-shadow: 0 8px 24px #3a263414; }
.marketing .price-card { border-radius: 14px; box-shadow: none; border-color: var(--line); background: #fff; }
.marketing .corporate-price-card { background: #f7edef; border: 1px solid #bc8293; }
.marketing .price-card h2, .marketing .price { font-family: var(--font-sans); color: var(--ink); }
.marketing .price-card .price { font-size: 38px; letter-spacing: -.04em; }
.marketing .price-card .price-from { font-size: 30px; }
.marketing .pilot-block { border: 1px solid #e7d4dc; background: #f7edef; border-radius: 14px; }
.marketing .plan-matrix { border-radius: 12px; }
.marketing .plan-matrix th, .marketing .plan-matrix td { border-color: var(--line); }
.marketing .plan-matrix .matrix-corporate { background: #faf2f5; }
.marketing .plan-matrix thead th { background: #f0edf0; }
.marketing .trial-intro, .marketing .privacy-band { background: var(--soft-blue); border-radius: 12px; border-color: #e5d4da; }
.marketing .request-card { border-radius: 16px; padding: 36px; box-shadow: 0 12px 40px #442d3710; }
.marketing .example-label, .marketing .example-tag, .marketing .product-shot figcaption { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; }

/* Signed-in work: dark navigation, calm canvas, legible data. */
.workspace-page { background: var(--canvas); }
.workspace-page .sidebar { width: 238px; padding: 26px 16px 18px; background: #422d38; border-right: 0; overflow-y: auto; color: #fff; }
.sidebar > .brand { margin: 0 10px 22px; }
.sidebar .brand-wordmark { filter: brightness(0) invert(1); width: 150px; }
.sidebar nav { gap: 4px; margin-top: 8px; }
.sidebar .nav-item { min-height: 42px; padding: 10px 13px; border-radius: 7px; color: #e1cfd8; font-size: 13px; font-weight: 500; gap: 12px; }
.sidebar .nav-item:hover { color: #fff; background: #ffffff0c; }
.sidebar .nav-item.selected { color: #fff; background: #ffffff15; box-shadow: inset 3px 0 #e9b5c5; font-weight: 650; }
.sidebar .nav-icon { color: inherit; width: 19px; height: 19px; opacity: .9; }
.sidebar .nav-item.selected .nav-icon { color: #f0cfda; }
.sidebar .nav-section-label { margin: 18px 13px 6px; color: #c8acb9; font-size: 11px; font-weight: 500; }
.sidebar .recent-label { color: #c8acb9; margin: 28px 13px 8px; font-size: 11px; }
.sidebar .recent-projects a { color: #e1cfd8; border-radius: 6px; }
.sidebar .recent-projects a:before { color: #c8acb9; }
.sidebar .recent-projects a:hover { background: #ffffff0c; color: #fff; }
.sidebar-bottom { padding: 28px 10px 0; }
.sidebar .storage-caption { color: #e8dce1; font-size: 10px; }
.sidebar .storage-caption span:last-child { color: #c8acb9; }
.sidebar progress, .sidebar progress::-webkit-progress-bar { background: #6c515e; border-radius: 9px; }
.sidebar progress::-webkit-progress-value { background: #e9b5c5; }
.sidebar progress::-moz-progress-bar { background: #e9b5c5; }
.sidebar .text-link, .sidebar .sidebar-help { color: #e8dce1; }
.sidebar .sidebar-help { border-color: #6c515e; margin-top: 22px; font-size: 11px; }
.workspace-page .workspace-main { margin-left: 238px; }
.workspace-header { background: #ffffffed; border-bottom: 1px solid var(--line); height: 76px; padding: 0 38px; }
.breadcrumb { font-size: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb > span:last-child { color: var(--ink); font-weight: 600; }
.user-menu .avatar { background: #f0dfe5; color: #76344a; border: 1px solid #e2c7d1; }
.workspace-content { padding: 36px 38px 52px; }
.page-heading { align-items: center; margin-bottom: 28px; gap: 24px; }
.page-heading h1, .workspace-page h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; }
.page-heading p { font-size: 13px; line-height: 1.65; max-width: 720px; margin-top: 8px; color: var(--muted); }
.page-heading .heading-actions { gap: 10px; }
.toolbar { gap: 16px; }
.search-box { border-radius: 8px; border-color: var(--line-strong); background: #fff; }
.tabs { gap: 4px; background: #ecebf0; border-radius: 8px; }
.tab { border-radius: 6px; font-weight: 600; padding: 9px 14px; min-height: 38px; }
.tab.active { background: var(--soft-blue); color: var(--blue-dark); }
.tab:hover:not(.active) { background: #eeedf1; }
.project-card, .asset-card { border-radius: 12px; border-color: var(--line); box-shadow: 0 2px 4px #28222a03; }
.project-card:hover, .asset-card:hover { transform: none; border-color: #b8788b; box-shadow: 0 5px 18px #422b3609; }
.project-card-body { padding: 20px; }
.project-card h2 { font-size: 18px; }
.project-card p { font-size: 12px; }
.project-card-footer { font-size: 11px; }
.asset-card-text { padding: 14px; }
.asset-card strong { font-size: 12px; }
.asset-card small { font-size: 11px; }
.insight-cards.kpi-row { gap: 16px; margin-bottom: 24px; }
.insight-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; position: relative; }
.insight-card:before { content: ''; display: block; width: 24px; height: 3px; background: #bc8293; border-radius: 2px; margin-bottom: 16px; }
.insight-card strong { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.insight-card > span { font-size: 12px; display: block; margin-top: 7px; }
.insight-card em.kpi-delta { font-size: 11px; margin-top: 10px; }
.insight-card .kpi-delta { color: var(--muted); font-weight: 500; }
.insight-grid { gap: 20px; }
.insight-panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-width: 0; overflow-x: auto; }
.insight-panel h2 { font-size: 18px; letter-spacing: -.025em; }
.insight-panel > p { margin-top: 6px; }
.insight-panel table { font-size: 13px; }
.insight-panel th, .data-table th, .inventory-table th { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted); background: #f7f7f9; font-weight: 600; }
.insight-panel td, .insight-panel th { padding: 12px 9px; border-color: #ecebf0; }
.insight-panel tbody tr:hover, .inventory-table tbody tr:hover { background: #fdf8fa; }
.chart-box { margin-top: 20px; }
.chart-box svg { max-height: 240px; }
.chart-uploaded { fill: var(--chart-uploaded); }
.chart-processed { fill: var(--chart-primary); }
.chart-axis { font: 11px var(--font-sans); }
.chart-gridline { stroke-dasharray: 3 5; }
.chart-box svg text { fill: var(--muted); }
.chart-box svg line { stroke: var(--line); }
.dotkey.light { background: var(--chart-uploaded); }
.dotkey.dark { background: var(--chart-primary); }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.chart-legend .dotkey.dark { margin-left: 14px; }
.hbar-track { background: #f0edf1; border-radius: 4px; height: 9px; }
.hbar-fill, .hbar-fill.p0 { background: var(--chart-primary); border-radius: 4px; transition: none; }
.hbar-fill.p1 { background: var(--chart-slate); }
.hbar-fill.p2 { background: var(--chart-uploaded); }
.hbar-fill.p3 { background: var(--chart-plum); }
.hbar-fill.p4 { background: var(--chart-gold); }
.hbar-fill.fill-red { background: var(--red); }
.hbar-fill.fill-warning { background: #b27a2d; }
.hbar-fill.fill-ok { background: var(--green); }
.hbar-fill.fill-progress { background: var(--chart-slate); }
.hbar-value { font-variant-numeric: tabular-nums; color: var(--ink); }
.insight-card:nth-child(2):before { background: var(--chart-slate); }
.insight-card:nth-child(3):before { background: var(--chart-plum); }
.insight-card:nth-child(4):before { background: var(--chart-gold); }
.notice:not(.error):not(.success) { background: #f2edf3; border-color: #e2d8e4; color: #685967; }
.playbook-strip { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.pb-type, .pb-card { border: 0; background: transparent; padding: 10px 14px; }
.pb-type { background: var(--soft-blue); }
.pb-type code { font-family: var(--font-sans); color: var(--blue-dark); }
.pb-card small { text-transform: none; letter-spacing: 0; }
.xchip { background: var(--soft-blue); border-color: #e3cbd4; }
.xchip small { color: #7b5965; }
.xchip code { color: var(--blue-dark); }
.xchip.flag { background: #fff1e4; border-color: #e8cfb5; }
.xchip.flag code { color: #915c23; }
.item-cat, .item-research { color: var(--blue-dark); background: var(--soft-blue); border-color: #e3cbd4; }
.item-research:hover { background: #eed8df; color: var(--blue-dark); border-color: #bc8293; }
.raw-data summary:hover, .chip-more, .chip-more:hover { color: var(--blue); }
.account-section, .panel-narrow, .upload-queue, .item-card, .risk-row, .wo-card, .export-row { border-color: var(--line); border-radius: 12px; }
.account-section { background: #fff; }
.inv-logo, .inv-fit, .inv-badge, .inv-records-btn, .inv-tree details { border-radius: 6px; }
.inv-detail-row > td { background: #f8f6f9; }
.empty-state { background: #fff; border: 1px dashed #d8c6cf; border-radius: 12px; }
.empty-state h2 { font-size: 24px; }
.empty-state p { font-size: 14px; }
.workspace-page .workspace-footer { color: var(--muted); }



@media (min-width: 761px) and (max-width: 1100px) {
  .marketing .site-header .desktop-navigation { display: none; }
  .marketing .site-header > .mobile-menu { display: block; }
  .marketing .site-header .brand { margin-right: auto; }
  .marketing .mobile-menu summary { display: grid; place-items: center; width: 38px; height: 38px; cursor: pointer; list-style: none; }
  .marketing .mobile-menu summary svg { width: 23px; height: 23px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
  .marketing .mobile-menu nav { display: flex; position: absolute; top: 72px; right: 24px; width: 280px; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-dialog); margin: 0; }
  .marketing .mobile-menu nav a { padding: 12px; }
  .marketing .home-hero { gap: 36px; }
}
@media (max-width: 900px) {
  .marketing .home-problem-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .marketing .problem-card { padding: 22px; }
  .marketing .problem-card h2 { font-size: 21px; }
  .workspace-content { padding: 28px 24px 40px; }
}
@media (max-width: 760px) {
  .marketing .site-header { padding: 12px 20px; gap: 12px; }
  .marketing .header-actions .button { min-height: 38px; font-size: 11px; padding: 8px 13px; }
  .marketing .home-hero { grid-template-columns: 1fr; gap: 30px; padding: 38px 24px 40px; }
  .marketing .home-hero h1 { font-size: clamp(38px, 8.8vw, 52px); max-width: 560px; }
  .home-intro { font-size: 12px; margin-bottom: 20px; }
  .marketing .hero-lead { font-size: 14px; margin-top: 18px; max-width: 560px; }
  .marketing .hero-actions { margin-top: 22px; gap: 18px; }
  .marketing .hero-actions .button { min-height: 46px; font-size: 13px; padding: 12px 18px; }
  .marketing .hero-actions .text-link { font-size: 12px; }
  .marketing .hero .fineprint { font-size: 11px; margin-top: 16px; }
  .marketing .fn-section { padding-top: 26px; padding-bottom: 20px; }
  .marketing .home-problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .marketing .problem-card { padding: 24px; grid-template-columns: 42px 1fr; column-gap: 16px; }
  .problem-symbol { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
  .marketing .problem-card .release-note { grid-column: 2; margin-bottom: 6px; }
  .marketing .problem-card h2 { grid-column: 2; font-size: 22px; margin-bottom: 12px; }
  .marketing .problem-card > p:last-child { grid-column: 1 / -1; font-size: 13px; }
  .marketing .home-closing-lines { padding-top: 4px; padding-bottom: 32px; }
  .marketing .hero:not(.home-hero) { padding-top: 36px; padding-bottom: 40px; grid-template-columns: 1fr; }
  .marketing .hero:not(.home-hero) h1 { font-size: 38px; }
  .problem-preview { display: none; }
  .marketing .problem-list { grid-template-columns: 1fr; }
  .problem-content-section { padding-top: 34px; }
  .problem-content-section .usecase-tier-head h2 { font-size: 26px; }
  .marketing .closing-cta { margin: 36px 20px 44px; padding: 36px 24px; }
  .marketing .site-footer { padding-top: 32px; }
  .marketing .request-card { padding: 26px; }
  .marketing .request-card h1 { font-size: 29px; }
  .workspace-page .sidebar { top: 64px; width: 250px; padding-top: 14px; }
  .workspace-page .workspace-main { margin-left: 0; }
  .workspace-header { height: 64px; padding: 0 16px; }
  .workspace-content { padding: 26px 18px 40px; }
  .page-heading h1, .workspace-page h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .insight-cards.kpi-row { gap: 12px; }
  .insight-card { padding: 18px; }
  .insight-card strong { font-size: 29px; }
  .column-chart .chart-axis { font-size: 14px; }
  .insight-card:before { margin-bottom: 12px; }
  .insight-panel { padding: 20px; }
  .project-card-body { padding: 14px; }
  .project-card h2 { font-size: 15px; }
  .asset-card-text { padding: 11px; }
  .modal-work { padding: 24px; width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Mobile controls avoid iOS input zoom and provide comfortable tap targets. */
.sidebar-scrim { display: none; }
@media (max-width: 760px) {
  input, select, textarea, .search-box input, .modal-work .form-stack input { font-size: 16px; }
  .sidebar .nav-item, .tab, .button, .marketing .header-actions .button { min-height: 44px; }
  .icon-button, .marketing .mobile-menu summary { min-width: 44px; min-height: 44px; }
  .sidebar-scrim:not([hidden]) { display: block; position: fixed; inset: 64px 0 0; border: 0; background: #28222a66; z-index: 29; cursor: pointer; }
  .workspace-content .toolbar { min-width: 0; }
  .toolbar .tabs { max-width: 100%; }
  .heading-actions { flex-wrap: wrap; }
  .heading-actions .button { white-space: normal; }
  .marketing .site-header { gap: 8px; padding: 10px 16px; }
}

@media (max-width: 760px) { body.navigation-open { overflow: hidden; } }

/* Hidden radio controls must not inherit full-width text-field geometry. */
.type-option { position: relative; min-width: 0; }
.type-option input[type=radio] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; inset: 0; clip-path: inset(50%); overflow: hidden; }
.type-option > span { border-radius: 8px; }
.type-option input:focus-visible + span { outline-color: #ac6879; }
.modal { max-height: calc(100dvh - 28px); overflow-y: auto; }
.marketing .mobile-menu nav a { min-height: 44px; display: flex; align-items: center; }
.marketing .mobile-menu nav .mobile-request, .marketing .mobile-menu nav .mobile-login { justify-content: center; }

.sidebar .nav-owner { border-top-color: #735765; border-radius: 0; margin-top: 12px; }
@media (max-width: 760px) {
  .sidebar-scrim:not([hidden]) { left: 250px; }
}

/* Homepage: the promise has its own space; imagery belongs to each problem. */
.home-section-title { font-size: 32px; line-height: 1.2; margin-bottom: 26px; }
.problem-example-section { padding-top: 48px; padding-bottom: 16px; }
.problem-example { display: grid; grid-template-columns: 1fr 1.08fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.problem-example-photo { margin: 0; padding: 30px; display: flex; flex-direction: column; justify-content: center; background: #f7edf0; }
.problem-example-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.problem-example-photo figcaption { margin-top: 12px; color: #7b6570; font-size: 11px; }
.problem-example-result { padding: 38px; }
.marketing .problem-example-result .release-note { margin-bottom: 14px; font-size: 12px; }
.problem-example-result h2 { font-size: 31px; margin-bottom: 14px; }
.problem-example-result > p { color: var(--muted); font-size: 14px; }
.example-fields { margin: 24px 0; }
.example-fields > div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 13px; }
.example-fields dt { color: var(--muted); }
.example-fields dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.problem-example-result .example-outcome { color: var(--ink); }
.problem-example-result .fineprint { margin-top: 16px; font-size: 11px; }
.marketing .home-hero.hero-copy-only { grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 54px; gap: 0; }
.hero-copy-only .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy-only .home-intro { justify-content: center; margin-bottom: 20px; }
.marketing .hero-copy-only h1 { max-width: 920px; font-size: clamp(48px,5.2vw,72px); }
.marketing .hero-copy-only .hero-lead { max-width: 660px; margin-top: 22px; }
.marketing .hero-copy-only .hero-actions { justify-content: center; margin-top: 24px; }
.marketing .hero-copy-only .fineprint { max-width: none; }
.marketing .home-problem-grid .problem-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.problem-photo { display: block; width: 100%; aspect-ratio: 1.8; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); }
.problem-card-copy { padding: 24px 26px 28px; }
.marketing .problem-card-copy .release-note { margin: 0 0 10px; }
.marketing .problem-card-copy h3 { font-size: 24px; margin: 0 0 12px; }
.marketing .problem-card-copy > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }



@media (max-width: 760px) {
  .home-section-title { font-size: 28px; margin-bottom: 22px; }
  .problem-example { grid-template-columns: 1fr; }
  .problem-example-section { padding-top: 28px; }
  .problem-example-photo { padding: 22px; }
  .problem-example-result { padding: 26px 22px; }
  .problem-example-result h2 { font-size: 28px; }
  .marketing .home-hero.hero-copy-only { padding: 34px 24px 36px; }
  .hero-copy-only .hero-copy { align-items: flex-start; text-align: left; }
  .hero-copy-only .home-intro { margin-bottom: 16px; }
  .marketing .hero-copy-only h1 { font-size: clamp(38px,9vw,52px); }
  .marketing .hero-copy-only .hero-lead { margin-top: 18px; }
  .marketing .hero-copy-only .hero-actions { justify-content: flex-start; margin-top: 22px; }
  .problem-photo { aspect-ratio: 1.85; }
  .problem-card-copy { padding: 24px; }
  .marketing .problem-card-copy h3 { font-size: 24px; }
}

/* Authentication shares the Request access page and card components. */
.auth-request-card .forgot-link { margin: 0; text-align: left; }
.auth-request-card .auth-switch { margin: 0; padding: 0; border: 0; text-align: left; }
.auth-request-card .form-stack input { border-radius: 8px; }

/* Header, footer and page content share the same horizontal alignment. */
.marketing { --site-gutter: max(40px, calc((100% - 1240px) / 2 + 40px)); }
.marketing .site-header, .marketing .site-footer { padding-inline: var(--site-gutter); }

/* Fill the browser on short pages; let longer content scroll naturally. */
:root { scrollbar-gutter: stable; scroll-padding-top: 96px; }
body.marketing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.marketing > #main { flex: 1 0 auto; min-width: 0; width: 100%; }
.marketing > .site-header, .marketing > .site-footer { flex-shrink: 0; width: 100%; margin-inline: 0; }
.marketing > .site-footer { margin-top: auto; }

/* Reserve the same form space when switching between access and login. */
.marketing .request-access { min-height: 54rem; }
@media (max-width: 760px) {
  :root { scroll-padding-top: 84px; }
  .marketing { --site-gutter: 20px; }
  .marketing .page-width, .marketing .home-hero.hero-copy-only { padding-inline: var(--site-gutter); }
  .marketing .request-access { min-height: 55rem; }
}
@media (max-width: 360px) { .marketing .request-access { min-height: 59rem; } }

/* One wordmark size for navigation and footer at every breakpoint. */
.marketing { --wordmark-width: 168px; }
.marketing .site-header .brand > img.brand-wordmark,
.marketing .footer-brand .brand > img.brand-wordmark { width: var(--wordmark-width); height: auto; }
@media (max-width: 760px) {
  .marketing { --wordmark-width: 112px; }
}

.canada-leaf{vertical-align:-3px;color:#d62828;flex-shrink:0}
