/* NovaCraft homepage — 2026-11-14 usability audit remediation.
   Intentionally scoped to public homepage; does not style the PWA. */
:root {
  --nc-text:#172a49; --nc-secondary:#56647b; --nc-tertiary:#687991;
  --nc-link:#155bb5; --nc-on-dark:#f5f9ff; --nc-on-dark-muted:#c5d7f1;
  --nc-radius-sm:8px; --nc-radius-md:12px; --nc-radius-lg:16px;
  --nc-radius-xl:24px; --nc-radius-xxl:24px; --nc-radius-pill:999px;
  --nc-font-caption:12px; --nc-font-body:14px; --nc-font-large:16px;
}
/* 1/6/7/8: small chart labels and helper text are no longer 9–11px. */
.hero .dashboard-window :is(.dash-head,.dash-head>span,.dash-title-line small,.dash-range,
 .dash-kpis small,.number-caption,.chart-line span,.chart-y,.chart-months,.dash-bottom,
 .dash-bottom span,.sheet-float small,.sheet-float strong),
#services .services-sheet :is(.sheet-tab,.sheet-toolbar span,.table-head span,.table-row span,.sheet-progress span),
.foot-links a { font-size:var(--nc-font-caption)!important;line-height:1.4; }
.hero .dash-head{min-height:39px;height:auto;padding:9px 11px;gap:8px}
.hero .dash-head .traffic{flex-shrink:0}
.hero .dashboard-window .dash-body{min-width:0}
.hero .dash-bottom{flex-wrap:wrap;gap:6px;line-height:1.35}
.hero .chart-y{height:100px}
.hero .sheet-float{max-width:min(91%,320px)}
.hero .sheet-float strong{line-height:1.4}
.foot-links a{padding-block:3px;min-height:24px;display:inline-flex;align-items:center}
/* 3: documented type scale; style semantic components rather than every text node. */
.hero-copy>p,.solution-card>p,.section-title-row p,.services-head p,.feature-tile p,
.proof-card p,.price-card p,.foot-left p {font-size:var(--nc-font-body);line-height:1.65}
.section-eyebrow,.eyebrow-line,.solution-topline>span:first-child,
.plan-label,.hero-trust,.feature-tile h3,.data-feature-row h3{font-size:12px;line-height:1.45}
.chips span,.tag,.data-feature-row p,.hero-mini-links a{font-size:12px}
.hero-copy h1{font-size:clamp(42px,5.4vw,76px)}
.solution-card h3{font-size:clamp(28px,2.6vw,36px)}
.section-title-row h2,.intro-heading h2,.services-head h2{font-size:clamp(30px,3.3vw,48px)}
/* 4: shared, theme-aware semantic text palette for the real UI, not chart artwork. */
.solution-intro :is(h2,h3),.features-zone :is(h2,h3),.pricing-section :is(h2,h3),
.proof-section :is(h2,h3),.foot-wrap strong{color:var(--nc-text)}
.solution-card>p,.intro-heading>p,.features-zone p,.feature-tile p,
.pricing-section p,.proof-section p,.foot-wrap p{color:var(--nc-secondary)}
.foot-wrap a,.features-zone a.text-link{color:var(--nc-link)}
.hero-copy>p,.hero-mini-links a,.hero-trust{color:var(--nc-on-dark-muted)}
html[data-theme=dark] {--nc-text:#eef5ff;--nc-secondary:#c2d0e2;--nc-tertiary:#aabed7;--nc-link:#93bdff}
/* 5: six shared corner shapes for major components. */
.masthead,.price-card,.solution-card,.proof-card{border-radius:var(--nc-radius-xl)}
.btn,.header-actions .signin,.header-actions .nav-cta,.feature-tile,
.sheet-float,.sheet-tab,.case-link,.foot-links a{border-radius:var(--nc-radius-md)}
.chips span,.tag,.plan-label{border-radius:var(--nc-radius-pill)}
/* 9: free tier is now a proper primary button, consistent with hero. */
#pricing .price-card .price-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#1269df!important;color:#fff!important;border:1px solid #1269df!important;
  border-radius:var(--nc-radius-md);min-height:45px;padding:10px 17px;
  box-shadow:0 8px 19px rgba(15,91,191,.20);font-weight:750;font-size:14px;
  width:max-content;max-width:100%;text-decoration:none;
}
#pricing .price-card .price-primary:hover{background:#0959c6!important}
#pricing .price-card .price-primary svg{stroke:currentColor}
/* 10: section action follows the feature list rather than floating far from heading. */
.features-bottom-cta{display:flex;justify-content:flex-start;margin-top:23px}
.features-bottom-cta .text-link{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;
  border-radius:var(--nc-radius-md);border:1px solid #a8caef;background:rgba(231,242,255,.8);
  font-size:14px;font-weight:750;margin:0;text-decoration:none;min-height:44px}
/* 11: both solution cards use the same chip component geometry. */
#solutions .solution-card .chips{display:flex;flex-wrap:wrap;gap:7px}
#solutions .solution-card .chips span{display:inline-flex;align-items:center;
  min-height:30px;padding:6px 11px;border:1px solid rgba(95,146,214,.30);
  border-radius:var(--nc-radius-pill);font-size:12px;font-weight:650;
  background:rgba(241,247,255,.14);color:inherit}
#solutions .services-card .chips span{background:#edf5ff;color:#234b7b}
/* 12: unambiguous spacing / separator and generous hit targets. */
.hero-mini-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px 0}
.hero-mini-links a{display:inline-flex;align-items:center;min-height:42px;padding:8px 0;
  font-size:14px;text-decoration:underline;text-underline-offset:4px}
.hero-mini-links a+a{margin-left:24px;padding-left:24px;border-left:1px solid rgba(225,236,255,.42)}
/* 13: identical Data Services CTA treatment across hero, solutions, services banner. */
.hero .service-cta,#solutions .service-cta,#services .service-cta {
  background:linear-gradient(120deg,#f7fbff,#e4efff)!important;
  color:#133e78!important;border:1px solid #cee0f8!important;
  box-shadow:0 8px 20px rgba(9,43,99,.12)!important;
  border-radius:var(--nc-radius-md)!important;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font:750 14px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;
  min-height:46px;padding:12px 18px;text-decoration:none;max-width:100%;width:fit-content;
}
.hero .service-cta:hover,#solutions .service-cta:hover,#services .service-cta:hover{
  background:#e8f3ff!important;border-color:#9cc4ee!important;transform:translateY(-1px)}
#solutions .service-cta{position:relative;z-index:3;margin-top:18px;bottom:auto;left:auto;right:auto}
/* Keyboard/motion and small-screen behavior remain accessible. */
a:focus-visible,button:focus-visible{outline:3px solid #77b7ff;outline-offset:3px}
@media(max-width:700px){
  .hero-copy h1{font-size:clamp(41px,10vw,58px)}
  .hero-mini-links{align-items:stretch;flex-direction:column;gap:4px}
  .hero-mini-links a{margin:0!important;border:0!important;padding:7px 0!important}
  #pricing .price-card .price-primary,.hero .service-cta{width:100%}
  .hero .dashboard-window :is(.dash-head,.dash-head>span,.dash-title-line small,.dash-range,.dash-kpis small,
   .number-caption,.chart-line span,.chart-y,.chart-months,.dash-bottom,.dash-bottom span){font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.hero .service-cta,#solutions .service-cta,#services .service-cta{transform:none!important}}

/* 2026-11-18: Keep site navigation visible without changing document scroll position. */
.masthead-wrap{position:fixed!important;top:12px!important;left:0;right:0;z-index:950;width:min(1240px,calc(100% - 32px))}
.masthead{background:rgba(11,31,72,.79);border-color:rgba(226,240,255,.28);
  box-shadow:0 12px 42px rgba(2,14,40,.23),inset 0 1px 0 rgba(255,255,255,.13);
  -webkit-backdrop-filter:blur(22px) saturate(158%);backdrop-filter:blur(22px) saturate(158%)}
.masthead-wrap .mobile-menu{position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
html{scroll-padding-top:112px}
@media(max-width:700px){.masthead-wrap{top:9px!important;width:calc(100% - 22px)}html{scroll-padding-top:89px}}
/* Distinct readable caption sizes, without altering chart axes and compact widgets. */
.hero-copy>p,.solution-card>p,.feature-tile p,.proof-card p,.services-head p{font-size:max(14px,1rem)}
.foot-links a,.hero-mini-links a{font-size:14px}
@media(prefers-reduced-motion:reduce){.masthead,.masthead-wrap .mobile-menu{transition:none!important}}
