﻿/* =========================================================================
   StockNinja 2027 — readability & density layer
   Loaded last. Raises body/label text sizes and tightens vertical spacing
   site-wide. The product mockups (browser/phone art) are intentionally
   left untouched.
   ========================================================================= */

/* ---------- Base type ---------- */
body { font-size: 16px; line-height: 1.6; }
p { line-height: 1.7; }
h2 { font-size: 38px; margin-bottom: 18px; }
.eyebrow { font-size: 11.5px; letter-spacing: .12em; margin-bottom: 14px; }
.button { font-size: 15px; min-height: 50px; padding: 13px 22px; }
.button-small { font-size: 14px; min-height: 40px; padding: 9px 16px; }
.text-link { font-size: 14px; }
.nav-wrap nav { font-size: 14px; gap: 28px; }

/* ---------- Section rhythm ---------- */
.section { padding: 72px 0; }
.section-heading { margin-bottom: 36px; gap: 48px; }
.section-heading h2 { font-size: 36px; }
.section-heading > p { font-size: 15px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 36px; margin-bottom: 12px; }
.section-head p:not(.eyebrow) { font-size: 16px; }

/* ---------- Home: hero ---------- */
.hero-grid { min-height: 0; padding-top: 44px; padding-bottom: 32px; }
.hero .eyebrow { font-size: 11px; margin-bottom: 18px; }
h1 { margin-bottom: 18px; }
.hero-description { font-size: 19px; margin-bottom: 8px; }
.hero-detail { font-size: 16px; line-height: 1.7; }
.hero-actions { margin-top: 22px; }
.hero-note { font-size: 13px; margin-top: 16px; }
.visual-caption { font-size: 13px; }
.audience-strip { min-height: 72px; font-size: 14px; }
.audience-strip > span { font-size: 10px; }

/* ---------- Home: workflow ---------- */
.step-top { margin-bottom: 16px; }
.step-number { font-size: 11px; }
.workflow-grid h3 { font-size: 21px; margin-bottom: 10px; }
.workflow-grid p { font-size: 15.5px; line-height: 1.7; }
.module-label { font-size: 11px; }

/* ---------- Bundle ---------- */
.bundle-card { padding: 28px; }
.bundle-card .bundle-top { margin-bottom: 12px; }
.bundle-card > p { font-size: 15px; }
.bundle-card .check-list li { font-size: 15px; }
.bundle-card .value { font-size: 14px; }
.bundle-total { margin-top: 22px; padding: 22px 28px; }
.bundle-total p { font-size: 15px; }
.badge { font-size: 10.5px; }

/* ---------- Check lists ---------- */
.check-list { margin: 18px 0; }
.check-list li { font-size: 15px; margin-bottom: 10px; line-height: 1.6; }
.check-list li::before { font-size: 14px; }

/* ---------- Home: mobile teaser ---------- */
.mobile-grid { gap: 72px; }
.mobile-copy h2 { font-size: 42px; }
.mobile-copy > p:not(.eyebrow) { font-size: 16px; }
.mobile-copy p.mobile-explainer { font-size: 14px; padding-top: 16px; }
.android-label { font-size: 12px; margin-top: 18px; }

/* ---------- Home: story / pricing / closing ---------- */
.story-section { padding: 60px 0; }
.story-grid { gap: 72px; }
.story-grid h2 { font-size: 34px; }
.story-grid p:not(.eyebrow) { font-size: 16px; }
.story-grid .text-link { font-size: 14px; }
.pricing-grid { gap: 72px; }
.pricing-grid h2 { font-size: 40px; }
.pricing-grid > div > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }
.pricing-notes { font-size: 14px; margin-top: 22px; }
.price-card { padding: 28px; }
.price-card-top > span { font-size: 9px; }
.price { margin-top: 18px; }
.price > div { font-size: 15px; }
.price small { font-size: 12px; }
.price-line { margin-top: 18px; }
.price-card .check-list li { font-size: 14px; }
.price-card .button { font-size: 15px; }
.price-card > p { font-size: 13px; }
.closing-section { padding: 52px 0; }
.closing-section .eyebrow { font-size: 11px; }
.closing-section h2 { font-size: 40px; }

/* ---------- FAQ ---------- */
.faq-section { padding-top: 0; }
.faq-grid { gap: 64px; }
.faq-grid h2 { font-size: 34px; }
.faq-grid .eyebrow { font-size: 11px; }
summary, .faq-list summary { padding: 16px 0; font-size: 16px; }
details p, .faq-list details p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }

/* ---------- Features: interactive overview ---------- */
.workspace-layout { gap: 64px; }
.workspace-copy h2 { font-size: 38px; }
.workspace-copy > p:not(.eyebrow) { font-size: 16px; }
.feature-tabs { margin-top: 22px; }
.feature-tabs button { padding: 15px 0; }
.feature-tabs button > span:first-child { font-size: 12px; }
.feature-tabs b { font-size: 16px; }
.feature-tabs small { font-size: 13px; }
.showcase-caption { font-size: 14px; margin: 18px 0 4px; }

/* ---------- Interior page hero ---------- */
.page-hero-inner { padding: 56px 0 48px; }
.page-hero.compact .page-hero-inner { padding: 44px 0 36px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .hero-actions { margin-top: 22px; }
.lead { font-size: 18px; line-height: 1.65; max-width: 640px; }

/* ---------- Features: module groups ---------- */
html { scroll-padding-top: 130px; }
.module-group { padding: 60px 0 16px; scroll-margin-top: 130px; }
.group-head { margin-bottom: 26px; gap: 18px; }
.group-head h2 { font-size: 34px; margin-bottom: 6px; }
.group-head p:not(.eyebrow) { font-size: 16px; }
.module-grid { gap: 18px; }
.module-card { padding: 24px 26px; }
.module-card h3 { font-size: 20px; margin-bottom: 8px; }
.module-card > p { font-size: 15.5px; line-height: 1.65; }
.module-card .check-list { margin: 12px 0 0; }
.module-card .check-list li { font-size: 15px; margin-bottom: 7px; }
.module-card .tip { font-size: 14px; }
.subnav a { font-size: 14px; }
.report-grid { gap: 12px; }
.report-item { padding: 16px 18px; }
.report-item h3 { font-size: 16px; }
.report-item p { font-size: 14px; line-height: 1.55; }
.report-cat { font-size: 11.5px; margin: 14px 0 0; }
.trust-strip > div { padding: 20px 22px; }
.trust-strip b { font-size: 16px; }
.trust-strip span { font-size: 14px; }
.callout { padding: 26px 30px; }
.callout p { font-size: 16px; }

/* ---------- Pricing page ---------- */
.pricing-hero-card .price-side { padding: 34px 32px; }
.pricing-hero-card .price-side p { font-size: 15px; }
.pricing-hero-card .price-side .price > div { font-size: 15px; }
.pricing-hero-card .price-side .pricing-notes { margin: 14px 0 22px; }
.pricing-hero-card .include-side { padding: 32px 34px; gap: 22px; }
.include-block h3 { font-size: 19px; }
.include-block .check-list li { font-size: 15px; margin-bottom: 8px; }
.include-block + .include-block { padding-top: 20px; }
.include-block .regular { font-size: 13px; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15.5px; }
.steps li { padding-top: 18px; }
.steps li::before { margin-bottom: 10px; font-size: 12px; }
.muted-note { font-size: 14px; }
.policy { padding: 22px 26px; }
.policy h3 { font-size: 18px; }
.policy p { font-size: 15px; }

/* ---------- Get started form ---------- */
.form-card { padding: 30px 32px; }
.form-card > p { font-size: 15px; }
.field { margin-bottom: 14px; }
.field label { font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { font-size: 16px; padding: 11px 13px; }
.field-error { font-size: 13px; }
.form-fineprint { font-size: 12.5px; }
.signup-aside .price-card .check-list li { font-size: 14.5px; }
.aside-note h3 { font-size: 17px; }
.aside-note p { font-size: 14.5px; line-height: 1.7; }

/* ---------- Mobile page ---------- */
.capability-grid { gap: 18px; }
.capability { padding: 22px; }
.capability .step-icon { margin-bottom: 14px; }
.capability h3 { font-size: 18px; }
.capability p { font-size: 15px; line-height: 1.65; }
.together-card { padding: 28px; }
.together-card .check-list li { font-size: 15px; }

/* ---------- About ---------- */
.story-long { gap: 64px; }
.story-long h2 { font-size: 34px; }
.story-long p { font-size: 16.5px; line-height: 1.75; }
.value-card h3 { font-size: 20px; }
.value-card p { font-size: 15.5px; line-height: 1.7; }
.wca-band { gap: 48px; }
.wca-band h2 { font-size: 34px; }
.wca-band p { font-size: 16px; }

/* ---------- Contact ---------- */
.contact-card { padding: 24px; }
.contact-card h2 { font-size: 21px; }
.contact-card p { font-size: 15px; line-height: 1.65; }
.contact-card a.mail { font-size: 15px; }
.address-card p { font-size: 15px; }

/* ---------- Legal ---------- */
.legal { padding: 44px 0 64px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal h2 { margin: 30px 0 10px; }
.legal .effective { font-size: 14px; margin-bottom: 20px; }

/* ---------- Thank you / 404 ---------- */
.message-page { padding: 72px 0 80px; }
.next-steps { margin-top: 40px; }
.next-steps b { font-size: 16px; }
.next-steps span { font-size: 14.5px; }

/* ---------- Ninja strip + footer ---------- */
.ninja-inner { padding: 16px 0; }
.ninja-label { font-size: 11px; }
.ninja-strip p { font-size: 16px; }
footer { padding: 40px 0 20px; }
.footer-cols > div { font-size: 14px; gap: 9px; }
.footer-brand p { font-size: 14px; }
.footer-heading { font-size: 11px; }
.footer-bottom { font-size: 12px; margin-top: 28px; padding-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .mobile-grid, .story-grid, .pricing-grid, .faq-grid, .workspace-layout { gap: 36px; }
  .group-head h2, .section-head h2, .section-heading h2 { font-size: 30px; }
}
@media (max-width: 680px) {
  .section { padding: 48px 0; }
  h2 { font-size: 30px; }
  .mobile-copy h2, .pricing-grid h2, .closing-section h2, .workspace-copy h2 { font-size: 32px; }
  .hero-grid { padding-top: 32px; }
  .page-hero-inner { padding: 40px 0 34px; }
  .module-group { padding: 44px 0 8px; }
  .story-section { padding: 44px 0; }
  .closing-section { padding: 44px 0; }
  .nav-wrap nav { font-size: 16px; }
}

/* =========================================================================
   Mobile navigation: slide-in panel from the right, dimmed backdrop,
   staggered links, scroll lock. (≤680px, where the menu button shows.)
   ========================================================================= */
@media (max-width: 680px) {
  .site-header { z-index: 50; }
  .menu-toggle { position: relative; z-index: 2; border-radius: 8px; transition: background .2s, border-color .2s; }
  .menu-toggle[aria-expanded=true] { background: #ffffff14; border-color: #ffffff40; }
  .menu-toggle span { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }

  .nav-wrap nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 72px; right: 0; left: auto;
    width: min(86vw, 360px); height: calc(100vh - 72px); height: calc(100dvh - 72px);
    padding: 8px 24px 28px; overflow-y: auto; overscroll-behavior: contain;
    background: var(--nav); border-top: 1px solid #ffffff15; border-left: 1px solid #ffffff12;
    box-shadow: -24px 0 48px #00000040;
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .38s;
  }
  .nav-wrap nav.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }

  .nav-wrap nav > a {
    padding: 16px 0; font-size: 18px; font-weight: 500; color: #dbe3e6;
    border-bottom: 1px solid #ffffff10;
    opacity: 0; transform: translateX(18px);
    transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1), color .2s;
  }
  .nav-wrap nav.open > a { opacity: 1; transform: none; }
  .nav-wrap nav.open > a:nth-child(1) { transition-delay: .06s; }
  .nav-wrap nav.open > a:nth-child(2) { transition-delay: .10s; }
  .nav-wrap nav.open > a:nth-child(3) { transition-delay: .14s; }
  .nav-wrap nav.open > a:nth-child(4) { transition-delay: .18s; }
  .nav-wrap nav.open > a:nth-child(5) { transition-delay: .22s; }
  .nav-wrap nav > a.active { color: #fff; }
  .nav-wrap nav > a.active::after { left: 0; right: auto; width: 22px; bottom: 9px; }

  .nav-actions {
    margin: auto 0 0; padding-top: 22px; border-top: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    opacity: 0; transform: translateY(10px);
    transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
  }
  .nav-wrap nav.open .nav-actions { opacity: 1; transform: none; transition-delay: .26s; }
  .nav-actions .signin { font-size: 15px; justify-content: center; padding: 12px; border: 1px solid #ffffff26; border-radius: 6px; }
  .nav-actions .button { font-size: 15px; min-height: 50px; justify-content: space-between; }

  .nav-backdrop {
    position: fixed; inset: 72px 0 0 0; z-index: 40; background: #0b1418;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility 0s linear .35s;
    -webkit-tap-highlight-color: transparent;
  }
  html.menu-open .nav-backdrop { opacity: .55; visibility: visible; transition: opacity .35s ease; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .nav-wrap nav, .nav-wrap nav > a, .nav-actions, .nav-backdrop, .menu-toggle span { transition: none !important; }
}
