/* Cursor Pop application system. Creative ribbon typography is deliberately isolated. */
@font-face { font-family: Manrope; src: url("../fonts/Manrope.946beb949095.ttf") format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url("../fonts/IBMPlexMono-Regular.560033d0c7f2.ttf") format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
body { font-family: var(--brand-font-body); line-height: 1.6; }
::selection { color: var(--ink); background: var(--yellow); }
input, textarea { caret-color: var(--primary); }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: 2rem; line-height: 1.2; }
h2 { font-size: 1.375rem; line-height: 1.3; }
h3 { font-size: 1.0625rem; line-height: 1.4; }
p { overflow-wrap: anywhere; }
code, pre, .mono, .meta, .managed-source, .source-code, .source-title strong { font-family: var(--brand-font-code); font-weight: 400; }
code { font-size: .8125rem; }
a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { max-width: 1216px; }
.site-header { background: var(--canvas); border-bottom: 2px solid var(--ink); }
.header-top { min-height: 96px; gap: 24px; }
.brand { line-height: 1; }
.brand img { width: 210px; height: auto; max-width: none; }
.header-links { gap: 28px; }
.quiet-link { color: var(--ink); font-weight: 600; }
.dashboard-switch label { color: var(--ink); font-weight: 700; }
.dashboard-switch select { border-width: 2px; }
.dashboard-switch .button { min-height: 44px; }
.navigation { gap: 4px; padding-block: 0 16px; }
.navigation a { color: var(--muted); border: 2px solid transparent; border-radius: 6px; font-weight: 600; }
.navigation a:hover { color: var(--ink); background: white; border-color: var(--line); }
.navigation a[aria-current='page'] { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.navigation-signout .button { border: 0; }
.nav-count { color: white; background: var(--ink); border-radius: 4px; }
.button { min-height: 46px; border: 2px solid var(--ink); border-radius: 8px; background: var(--primary); color: white; padding: 10px 18px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); transition: transform 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out; }
.button:hover { color: white; background: var(--primary-hover); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.button:active { transform: translate(3px,3px); box-shadow: none; }
.button-secondary { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: #ffe06b; color: var(--ink); border-color: var(--ink); }
.button-quiet { background: transparent; color: var(--ink); box-shadow: none; border-color: transparent; }
.button-quiet:hover { color: var(--ink); background: white; border-color: var(--line); transform: none; box-shadow: none; }
.button-danger { color: var(--ink); background: var(--coral); }
.button-danger:hover { color: var(--ink); background: #ff7b72; }
.button-google { color: var(--ink); background: white; border-color: var(--ink); }
.button-google:hover { color: var(--ink); background: var(--canvas); }
.button:disabled, .button[aria-disabled='true'] { color: var(--muted); background: #eeede6; border-color: var(--line); box-shadow: none; transform: none; }
.page-main { padding-block: 40px 72px; }
.page-heading { margin-bottom: 32px; align-items: flex-start; }
.page-heading p { max-width: 65ch; }
.page-heading > * { min-width: 0; }
.eyebrow { display: none; }
.panel, .surface { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.surface { border-color: var(--ink); }
.workspace { display: grid; gap: 28px; min-width: 0; }
.workspace-overview { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); align-items: start; }
.mt-32 { margin-top: 32px; }
.section-heading { max-width: none; margin: 0 0 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading > div { min-width: 0; }
.section-heading p { font-size: .875rem; margin-top: 8px; max-width: 65ch; }
.section-heading > .button { flex: 0 0 auto; }
.aside-note, .aside-note.violet { border: 1px solid var(--ink); border-radius: 10px; background: var(--canvas); }
.aside-note p { color: var(--muted); }
.status { border: 1px solid var(--line); color: var(--ink); background: var(--canvas); border-radius: 5px; line-height: 1.5; font-weight: 700; font-size: .75rem; }
.status-success { color: var(--ink); background: var(--brand-color-mint); border-color: var(--ink); }
.status-warning { color: var(--ink); background: var(--yellow-soft); border-color: #baa654; }
.status-error { color: var(--ink); background: var(--coral-soft); border-color: #bf746f; }
.status-violet { color: var(--primary-hover); background: var(--primary-soft); border-color: #c0cefa; }
.notice { border: 1px solid var(--ink); border-radius: 8px; background: var(--yellow-soft); padding: 18px 20px; }
.notice-error { background: var(--coral-soft); }
.notice-success { background: var(--teal-soft); }
.notice-warning { background: var(--yellow-soft); }
.site-footer { background: var(--ink); color: var(--canvas); border-top: 0; padding-block: 32px; }
.footer-inner { color: var(--canvas); min-height: 64px; }
.footer-inner a { color: var(--canvas); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 180px; height: auto; }
.footer-brand span { font-size: .8125rem; }
input:not([type='checkbox']):not([type='hidden']), select, textarea { border: 1px solid #84837d; border-radius: 6px; min-height: 46px; font-size: 1rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #65645d; opacity: 1; }
input[aria-invalid='true'], select[aria-invalid='true'], textarea[aria-invalid='true'] { border: 2px solid var(--danger); background: #fff8f6; }
.field label, .crop-editor label { color: var(--ink); font-weight: 700; }
.input-with-prefix { border-color: #84837d; border-radius: 6px; }
.input-with-prefix input:not([type='checkbox']):not([type='hidden']) { border: 0; }
.field-help, .field-errors { font-size: .8125rem; line-height: 1.6; }
.form-actions, .action-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.terms-section legend { font-weight: 800; }
.terms-facts { padding-top: 4px; }
.terms-facts dt, .evidence-facts dt { font-size: .8125rem; }
.terms-facts dd { font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 28px; }
.work-list, .task-list { list-style: none; padding: 0; margin: 0; }
.work-item, .task-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.work-item:first-child, .task-row:first-child { border-top: 0; padding-top: 0; }
.work-item:last-child, .task-row:last-child { padding-bottom: 0; }
.work-item > div, .task-row > div { min-width: 0; }
.work-item h2, .work-item h3, .task-row h2, .task-row h3 { font-size: 1.0625rem; }
.work-item p, .task-row p { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.work-item > .button, .task-row > .button { flex: 0 0 auto; }
.work-item .actions { flex: 0 0 auto; }
.task-row > a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.activity-summary { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: .875rem; }
.meta { font-size: .75rem; line-height: 1.6; color: var(--muted); }
.flow-step { min-width: 0; }
.auth-layout { max-width: 1040px; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 72px; margin-block: 32px 48px; align-items: center; }
.auth-panel { border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 36px; }
.auth-panel h1 { font-size: 2.25rem; line-height: 1.2; }
.auth-panel > form { margin-top: 24px; }
.auth-panel .button-google { margin-top: 0; }
.auth-role { padding-block: 24px; border-bottom: 1px solid var(--line); }
.auth-role:first-of-type { padding-top: 0; }
.auth-role h3 { font-size: 1.25rem; }
.auth-role p { color: var(--muted); margin-top: 8px; font-size: .875rem; }
.offer-review > .preview-stack { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.offer-review > .decision-actions { grid-column: 1; }
.auth-detail h2 { font-size: 1.75rem; }
.auth-detail .plain-list { margin-top: 24px; }
.avatar { color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; }
.empty-state { text-align: left; padding: 36px; background: var(--canvas); border: 1px dashed #84837d; border-radius: 10px; }
.empty-state p { max-width: 60ch; margin-inline: 0; }
.empty-state .actions { justify-content: flex-start; }
.empty-symbol { display: none; }
.source-boundary { border: 1px solid var(--ink); border-radius: 6px; }
.source-boundary > div + div { background: var(--yellow-soft); border-top: 1px dashed #baa654; }
.onboarding-track { gap: 0; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.onboarding-track li { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 14px 16px; }
.onboarding-track li:last-child { border-right: 0; }
.onboarding-track .current, .onboarding-track [aria-current='step'] { background: var(--yellow); color: var(--ink); }
.repository-row, .file-row, .listing-row { padding-block: 24px; }
.file-symbol { font-family: var(--brand-font-code); font-size: .8125rem; color: var(--muted); }
.connection-identity { background: var(--canvas); grid-template-columns: minmax(0,1fr) auto; }
.connection-identity .status { grid-column: auto; justify-self: end; align-self: start; }
.discovery-layout { display: grid; grid-template-columns: minmax(0,17rem) minmax(0,1fr); gap: 28px; align-items: start; }
.discovery-layout > * { min-width: 0; }
.discovery-file { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.file-price { display: grid; gap: 6px; text-align: right; flex: 0 0 auto; }
.file-price strong { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.editor-steps { border: 1px solid var(--ink); border-radius: 8px; }
.editor-steps a { color: var(--muted); }
.editor-steps a > span { border-radius: 6px; font-family: var(--brand-font-code); }
.editor-steps a[aria-current] { background: var(--yellow); color: var(--ink); }
.editor-steps a[aria-current] > span { background: var(--ink); border-color: var(--ink); color: white; }
.editor-form-panel { padding: 28px; }
.preview-section { padding: 24px; border-color: var(--ink); border-radius: 8px; }
.preview-heading { align-items: start; gap: 16px; }
.preview-heading .status { flex: 0 0 auto; }
.delivered-notice { background: var(--yellow-soft); border: 1px solid var(--ink); border-radius: 6px; padding: 20px; }
.notice-markdown pre { font-family: var(--brand-font-code); line-height: 1.8; border: 1px solid var(--line); }
.creative-ribbon .ribbon-link { color: #5033ad; }
.selection-summary { color: var(--ink); background: var(--yellow-soft); border: 1px solid #baa654; }
.match-file:has(input:checked) { background: var(--yellow-soft); }
.topic-tags span { color: var(--muted); background: var(--canvas); border: 1px solid var(--line); }
.review-workspace { padding-top: 28px; border-top: 2px solid var(--ink); }
.review-workspace:first-of-type { padding-top: 0; border-top: 0; }
.review-decisions form { background: var(--canvas); border: 1px solid var(--line); }
.metric-strip { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--line); }
.metric-item { flex: 1 1 180px; background: transparent; border: 0; border-radius: 0; padding: 24px; }
.metric-item dd { font-size: 1.375rem; line-height: 1.4; font-weight: 800; font-variant-numeric: tabular-nums; }
.metric-item dt { font-size: .8125rem; }
.evidence-panel, .operator-action-panel { border: 1px solid var(--ink); }
.evidence-panel .panel-header, .operator-action-panel .panel-header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.managed-source { font-size: .75rem; line-height: 1.8; }
.data-table th { font-weight: 700; }
.data-table td, .data-table th { vertical-align: top; }
.data-table .number, .terms-facts dd, .evidence-facts dd { font-variant-numeric: tabular-nums; }
.danger-zone { border: 1px solid #bf746f; background: #fff8f6; }
.error-layout { margin-block: 64px; max-width: 680px; }
.error-layout h1 { font-size: 3rem; }
.error-code { font-family: var(--brand-font-code); color: var(--muted); font-weight: 400; }

/* The public page is an editorial spread, organised around the delivered artifact. */
.landing-page .page-main { padding-top: 56px; padding-bottom: 0; }
.landing-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 48px; padding-bottom: 48px; }
.landing-title h1 { font-size: clamp(2.75rem,5vw,4.5rem); line-height: 1.08; letter-spacing: -.04em; }
.landing-title > p { font-size: 1.125rem; max-width: 56ch; margin-top: 24px; }
.headline-insertion { position: relative; display: inline-block; }
.headline-insertion::after { content: ''; position: absolute; height: 10px; background: var(--yellow); bottom: -6px; left: 0; right: 0; z-index: -1; }
.headline-insertion > span { color: var(--coral); }
.landing-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 4px; }
.landing-entry .button { min-height: 54px; padding-inline: 24px; font-size: 1rem; border-width: 3px; box-shadow: var(--brand-shadow); }
.landing-how { font-weight: 700; font-size: .875rem; }
.landing-entry p { font-size: .75rem; color: var(--muted); }
.sponsorship-specimen { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; background: white; }
.specimen-file { min-width: 0; }
.specimen-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--ink); }
.specimen-bar h2 { font-family: var(--brand-font-code); font-size: .875rem; font-weight: 400; letter-spacing: 0; }
.specimen-bar > span { font-size: .75rem; color: var(--muted); }
.specimen-source { font-family: var(--brand-font-code); font-size: .875rem; line-height: 1.9; padding: 28px; overflow-wrap: anywhere; }
.source-key { color: var(--primary-hover); }
.source-rule { color: var(--muted); }
.specimen-insertion { border-top: 1px solid var(--ink); background: var(--yellow-soft); padding: 20px 28px 24px; }
.insertion-label { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; }
.specimen-insertion p { margin-top: 12px; font-size: .875rem; line-height: 1.8; }
.sponsor-example-link { color: var(--primary-hover); text-decoration: underline; text-underline-offset: .2em; }
.specimen-note { display: flex; flex-direction: column; justify-content: center; background: var(--yellow); border-left: 3px solid var(--ink); padding: 36px; gap: 20px; }
.specimen-note h2 { font-size: 2rem; line-height: 1.15; }
.specimen-note > p { font-size: .875rem; max-width: 32ch; }
.specimen-note > .small { font-size: .75rem; }
.landing-process { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 72px; padding-block: 96px 72px; }
.landing-section-heading h2, .landing-facts h2 { font-size: clamp(2rem,3.4vw,3rem); line-height: 1.15; }
.landing-section-heading p { max-width: 35ch; margin-top: 24px; }
.consent-sequence { list-style: none; padding: 0; }
.consent-sequence li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 24px; padding-block: 24px; border-top: 1px solid var(--ink); }
.consent-sequence li:first-child { padding-top: 0; border-top: 0; }
.sequence-number { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 6px; font: 400 .875rem/28px var(--brand-font-code); text-align: center; background: var(--canvas); }
.consent-sequence li p { color: var(--muted); font-size: .875rem; margin-top: 8px; }
.landing-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; padding-block: 56px 64px; border-top: 2px solid var(--ink); }
.role-path h2 { font-size: 2rem; line-height: 1.2; }
.role-path p { max-width: 45ch; margin-block: 20px 28px; color: var(--muted); }
.landing-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; padding-block: 56px 72px; border-top: 2px solid var(--ink); }
.landing-facts > div:first-child p { max-width: 45ch; margin-top: 24px; }
.landing-boundaries { font-size: .875rem; }
.landing-boundaries p + p { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

@media (min-width: 1100px) {
  .headline-lead { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .detail-grid, .workspace-overview { grid-template-columns: minmax(0,1fr); }
  .offer-review > .preview-stack, .offer-review > .decision-actions { grid-column: auto; grid-row: auto; }
  .auth-layout { gap: 40px; }
  .landing-intro { gap: 32px; }
  .landing-title h1 { font-size: 3.75rem; }
  .specimen-note { padding: 28px; }
}
@media (max-width: 850px) {
  .discovery-layout { grid-template-columns: minmax(0,1fr); }
  .landing-process { gap: 40px; }
}
@media (max-width: 767px) {
  .header-top { min-height: 80px; padding-block: 20px; gap: 12px; }
  .brand img { width: 160px; height: auto; }
  .header-links { gap: 12px; }
  .header-links .button { padding-inline: 14px; }
  .page-main { padding-block: 28px 48px; }
  h1 { font-size: 1.75rem; line-height: 1.25; }
  .surface, .panel { padding: 20px; }
  .section-heading { flex-wrap: wrap; gap: 16px; }
  .work-item, .task-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .work-item .actions { flex-wrap: wrap; }
  .auth-layout { grid-template-columns: minmax(0,1fr); gap: 40px; margin-block: 8px 24px; }
  .auth-panel { padding: 24px; }
  .auth-panel h1 { font-size: 1.875rem; }
  .auth-detail { padding: 0; }
  .auth-detail h2 { font-size: 1.5rem; }
  .auth-role { padding-block: 20px; }
  .empty-state { padding: 24px; }
  .onboarding-track li { padding: 12px; border-bottom: 1px solid var(--line); }
  .onboarding-track li:nth-child(2n) { border-right: 0; }
  .onboarding-track li:nth-last-child(-n+2) { border-bottom: 0; }
  .discovery-file { flex-direction: column; gap: 16px; }
  .file-price { text-align: left; }
  .editor-form-panel, .preview-section { padding: 20px; }
  .preview-heading { flex-wrap: wrap; }
  .metric-item { padding: 20px 0; }
  .footer-inner { gap: 20px; }
  .error-layout { margin-block: 32px; }
  .error-layout h1 { font-size: 2rem; }
  .landing-page .page-main { padding-top: 36px; }
  .landing-intro { grid-template-columns: minmax(0,1fr); gap: 28px; padding-bottom: 36px; }
  .landing-title h1 { font-size: clamp(2.4rem,8.8vw,3.5rem); line-height: 1.1; }
  .landing-title > p { font-size: 1rem; margin-top: 24px; }
  .landing-entry { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
  .landing-entry p { width: 100%; }
  .landing-entry p br { display: none; }
  .sponsorship-specimen { grid-template-columns: minmax(0,1fr); box-shadow: 4px 4px 0 var(--ink); }
  .specimen-bar { padding: 16px 20px; flex-wrap: wrap; gap: 8px; }
  .specimen-source { padding: 24px 20px; font-size: .75rem; }
  .specimen-insertion { padding: 20px; }
  .specimen-note { border-left: 0; border-top: 3px solid var(--ink); padding: 28px 24px; gap: 16px; }
  .specimen-note img { width: 48px; height: 48px; }
  .specimen-note h2 { font-size: 1.75rem; }
  .specimen-note > p { max-width: none; }
  .landing-process { grid-template-columns: minmax(0,1fr); padding-block: 64px 36px; gap: 32px; }
  .landing-section-heading h2, .landing-facts h2 { font-size: 2rem; }
  .landing-section-heading p { max-width: none; margin-top: 20px; }
  .consent-sequence li { gap: 16px; }
  .landing-paths, .landing-facts { grid-template-columns: minmax(0,1fr); gap: 36px; padding-block: 36px 48px; }
  .role-path h2 { font-size: 1.75rem; }
  .role-path + .role-path { padding-top: 36px; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .button:hover, .button:active { transition: none; transform: none; }
}
