/* Home: the reading demonstration is the visual signature. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-700.woff2") format("woff2"); }
html { scroll-padding-top: 100px; }
.scan-overlay { height: 100dvh; }
.scan-modal { max-height: calc(100dvh - 48px); overflow-y: auto; }
.site-bar { gap: 26px; }
.site-nav { gap: 24px; margin-left: auto; }
.site-nav > a { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.site-nav > a:hover { color: var(--brand); }
.site-nav > a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
.site-tools { display: flex; align-items: center; gap: 12px; }
.site-tools .account-btn { background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 8px; min-height: 44px; white-space: nowrap; }
.site-tools .account-btn:hover { background: var(--brand-hover); }
.site-tools .space-link { border: 0; padding: 8px 6px; }
.site-menu-toggle, .site-nav .mobile-create { display: none; }
.hero-home { overflow: visible; }
.hero-copy { width: min(100%, 980px); }
.hero-copy h1 { font-size: clamp(2.3rem, 4.5vw, 3.65rem); line-height: 1.12; letter-spacing: -.045em; }
.hero-copy .sub { max-width: 62ch; }
.hero-decor { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: calc(100vw - 18px); height: 100%; pointer-events: none; z-index: 0; }
.hero-decor img { position: absolute; height: auto; object-fit: contain; opacity: .16; filter: invert(19%) sepia(42%) saturate(1860%) hue-rotate(213deg) brightness(92%) contrast(92%); }
.hero-decor-recruitment { width: clamp(90px, 11vw, 155px); top: 610px; left: 1%; transform: rotate(9deg); }
.hero-decor-pen { width: clamp(90px, 10vw, 140px); top: 650px; right: 1%; transform: rotate(18deg); }
.hero-decor-cv { width: clamp(90px, 11vw, 150px); top: 110px; right: 3%; transform: rotate(12deg); }
header.site { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
header.site::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(247,247,243,.76); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.product-proof .reveal-machine .tag { display: block; width: fit-content; margin-left: auto; font-family: "Atkinson Hyperlegible", sans-serif; }
.product-proof { width: 100%; padding: 28px 32px; border-radius: 16px; }
.product-proof-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); text-align: center; line-height: 1.2; }
.product-proof-head p { margin-top: 9px; font-size: .95rem; }
.demo-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 28px; }
.demo-examples button { border: 1px solid var(--line); padding: 10px 18px; min-height: 44px; border-radius: 24px; font: 700 .9rem "Atkinson Hyperlegible", sans-serif; background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.demo-examples button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-examples button:hover { border-color: var(--brand); }
.demo-board { position: relative; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; gap: clamp(48px, 6vw, 86px); max-width: 990px; margin: 0 auto; }
.demo-board .reveal-wrap { min-width: 0; z-index: 1; }
.product-proof .reveal { max-width: 420px; border-radius: 5px; box-shadow: 0 12px 30px -18px rgba(23,32,58,.45); }
.reveal:has(.reveal-range:focus-visible) { outline: 3px solid var(--brand); outline-offset: 4px; }
.demo-board .reveal-machine .flag { padding: 0; border-radius: 2px; background: rgba(212,68,63,.3); }
.demo-board .reveal-machine .flag.is-selected { background: rgba(255,102,87,.45); color: #fff; }
.demo-connections { position: absolute; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.demo-connections path { stroke: #c4a5a5; stroke-width: 1.25; }
.demo-connections circle { fill: #c4a5a5; }
.demo-connections path.is-active { stroke: #c7524c; stroke-width: 1.8; }
.demo-connections circle.is-active { fill: #c7524c; stroke: #fff; stroke-width: 1.5; }
.demo-notes { position: relative; z-index: 3; padding-top: 12px; }
.demo-notes-heading { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; max-width: 30ch; }
.demo-note { display: flex; width: 100%; align-items: flex-start; gap: 12px; text-align: left; padding: 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.demo-note.is-active { border-color: #d6a3a0; background: #fff9f8; }
.demo-note:hover { border-color: #c7524c; }
.demo-note-marker { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f5e4e2; color: #a5302b; font-weight: 700; font-size: .8rem; }
.demo-note-content { display: block; min-width: 0; }
.demo-note-title { display: block; font-size: 1rem; line-height: 1.3; }
.demo-note-reason { display: block; margin-top: 7px; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }
.demo-note-detail { display: block; }
.demo-note-detail[hidden] { display: none; }
.demo-note-quote { display: block; margin: 14px 0 10px; padding: 10px 12px; border-left: 2px solid #c7524c; background: #f8edeb; color: #702721; font: 400 .82rem/1.5 "IBM Plex Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.demo-note-fix { display: block; color: var(--good); font-size: .88rem; line-height: 1.45; }
.demo-note-fix::before { content: "✓ "; font-weight: 700; }
.demo-disclaimer { color: var(--ink-soft); font-size: .8rem; line-height: 1.5; padding: 4px 0; }
.demo-view-controls { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; }
.demo-view-controls button { background: transparent; border: 0; color: var(--brand); font: 700 .9rem "Atkinson Hyperlegible", sans-serif; min-height: 44px; padding: 8px; cursor: pointer; }
.demo-view-controls button:hover { text-decoration: underline; }
.demo-view-controls > span { color: var(--ink-faint); }
.demo-drag-hint { color: var(--ink-soft); font-size: .8rem; text-align: center; }
.hero-explainer { border-left: 0; padding: 20px 0 0; max-width: 74ch; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The same header and palette frame the public pricing page. */
.pricing-main { padding-block: 54px 70px; }
.pricing-heading { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.pricing-heading h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; margin: 0 0 18px; }
.pricing-heading p { color: var(--ink-soft); font-size: 1.1rem; }
.pricing-options { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 18px; }
.pricing-options p { color: var(--ink-soft); font-size: .92rem; }
.pricing-currency { display: flex; align-items: center; gap: 10px; }
.pricing-currency select { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 10px; border-radius: 6px; min-height: 44px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 22px 22px; }
.pricing-card.recommended { border: 2px solid var(--brand); padding: 27px 21px 21px; }
.pricing-recommendation { position: absolute; top: -14px; left: 20px; padding: 4px 12px; border-radius: 16px; color: #fff; background: var(--brand); font-size: .8rem; font-weight: 700; }
.pricing-card h2 { font-size: 1.1rem; color: var(--brand); }
.pricing-card h3 { font-size: 1.3rem; line-height: 1.3; }
.pricing-amount { font-size: 2rem; font-weight: 700; line-height: 1.25; }
.pricing-tax { color: var(--ink-soft); font-size: .82rem; font-weight: 400; }
.pricing-card p, .pricing-card li { color: var(--ink-soft); font-size: .95rem; }
.pricing-card ul { margin: 0 0 12px; padding-left: 18px; }
.pricing-card li { margin-bottom: 8px; }
.pricing-card .cta-primary, .pricing-card .cta-secondary { margin-top: auto; justify-content: center; padding-inline: 10px; text-align: center; }
.pricing-services { max-width: 760px; margin: 36px auto 0; padding: 24px; background: #eceff8; border-radius: 12px; text-align: center; }
.pricing-services h2 { font-size: 1.4rem; margin-bottom: 10px; }
.pricing-services p { color: var(--ink-soft); }
.pricing-services p + p { margin-top: 10px; }
.pricing-help { text-align: center; margin-top: 32px; color: var(--ink-soft); }
.pricing-help a { color: var(--brand); text-decoration: underline; }
.pricing-footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.pricing-footer a { margin-inline: 10px; }
.pricing-page { margin: 0; color: var(--ink); line-height: 1.5; }
.pricing-page * { box-sizing: border-box; }
.pricing-page h1, .pricing-page h2, .pricing-page h3, .pricing-page p { margin-top: 0; }
.pricing-page a { text-decoration: none; color: inherit; }
.pricing-page button, .pricing-page a, .pricing-page select { -webkit-tap-highlight-color: transparent; }
.pricing-page :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.pricing-page .site-bar { display: flex; align-items: center; justify-content: space-between; margin-inline: auto; padding-block: 14px; }
.pricing-page header.site { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.pricing-page .container { margin-inline: auto; }
.pricing-page .cta-primary, .pricing-page .cta-secondary, .pricing-page .account-btn { display: inline-flex; align-items: center; padding: 12px 18px; font-weight: 700; border-radius: 8px; }
.pricing-page .cta-primary { background: var(--brand); color: #fff; }
.pricing-page .cta-primary:hover { background: var(--brand-hover); }
.pricing-page .cta-secondary { border: 1px solid var(--line); color: var(--brand); }
.pricing-page .pricing-help a { color: var(--brand); text-decoration: underline; }

@media (max-width: 1100px) and (min-width: 961px) {
  .site-bar, .site-nav { gap: 16px; }
  .site-nav > a { font-size: .82rem; }
  .site-tools { gap: 8px; }
  .site-tools .account-btn { padding-inline: 12px; font-size: .82rem; }
}
@media (max-width: 960px) {
  .site-bar, .pricing-page .site-bar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .site-tools { margin-left: auto; gap: 8px; }
  .site-tools .account-btn { display: none; }
  .site-tools .space-link { font-size: .85rem; }
  .site-nav { display: flex; flex-wrap: wrap; width: 100%; grid-column: 1 / -1; order: 3; margin: 0; gap: 8px 20px; padding-block: 12px; }
  .site-nav > a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; }
  .site-nav .mobile-create { display: flex; background: var(--brand); color: #fff; border-radius: 8px; justify-content: center; }
  .nav-enhanced .site-nav { display: none; }
  .nav-enhanced.menu-open .site-nav { position: absolute; top: calc(100% + 10px); left: 18px; right: 18px; width: auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px; max-height: calc(100dvh - 110px); overflow-y: auto; border: 1px solid rgba(255,255,255,.85); border-radius: 22px; background: rgba(247,247,243,.82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 18px 48px -12px rgba(23,32,58,.24), inset 0 1px 0 rgba(255,255,255,.9); }
  .nav-enhanced.menu-open .site-nav > a { border-radius: 12px; }
  .nav-enhanced.menu-open .site-nav > a:hover { background: rgba(48,70,168,.08); }
  .nav-enhanced.menu-open .site-nav > .mobile-create:hover { background: var(--brand-hover); }
  .nav-enhanced .site-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.55); color: var(--ink); cursor: pointer; }
  .site-menu-toggle svg { width: 22px; height: 22px; }
  .product-proof { width: 100%; padding: 24px; }
  .demo-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .demo-note { padding: 12px; gap: 8px; }
  .demo-notes { padding-top: 0; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 760px) {
  .hero-copy h1 { font-size: clamp(2.2rem, 6.5vw, 3.4rem); }
  .demo-board { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 520px; }
  .demo-connections { display: none; }
  .demo-notes-heading { max-width: none; font-size: 1.05rem; }
  .demo-note { padding: 16px; gap: 12px; }
  .demo-note-title { font-size: 1rem; }
  .hero-decor img { opacity: .09; }
  .hero-decor-cv { top: 140px; right: 2%; width: 76px; }
  .hero-decor-recruitment { top: 310px; left: 2%; width: 64px; }
  .hero-decor-pen { top: 270px; right: 2%; width: 60px; }
  .hero-actions .cta-secondary { background: rgba(255,255,255,.8); }
}
@media (max-width: 520px) {
  .site-bar { flex-wrap: wrap; row-gap: 0; padding-inline: 18px; gap: 8px; }
  .cvats-brand-text { font-size: 16px; }
  .site-tools { gap: 4px; }
  .site-tools .space-link { min-height: 44px; font-size: .8rem; padding-inline: 4px; }
  .site-nav { grid-template-columns: none; }
  .hero-home { padding-top: 34px; }
  .hero-copy h1 { font-size: clamp(2rem, 8.5vw, 2.75rem); line-height: 1.12; }
  .hero-copy h1 span { display: inline; }
  .hero-copy .sub { font-size: 1rem; line-height: 1.5; }
  .product-proof { padding: 22px 14px; }
  .product-proof-head p { font-size: .9rem; }
  .demo-examples { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin: 18px 0 22px; }
  .demo-examples button { padding: 8px 4px; font-size: .78rem; border-radius: 8px; line-height: 1.2; }
  .demo-note { padding: 14px 12px; gap: 10px; }
  .demo-note-quote { padding: 8px; font-size: .78rem; }

  .pricing-main { padding-block: 36px 44px; }
  .pricing-options { align-items: flex-start; flex-direction: column; padding-bottom: 26px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-card { padding: 24px; }
  .pricing-card.recommended { padding: 23px; }
  .pricing-services { padding: 22px 16px; text-align: left; }
  .pricing-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
}
@media (max-width: 360px) {
  .site-bar { gap: 4px; padding-inline: 14px; }
  .site-bar .cvats-brand-text { font-size: 14px; }
  .site-bar .cvats-brand { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
