/* RocketCollab marketing site: shared theme (deck look and feel).
   Loaded LAST on every marketing page so it overrides each page's older
   inline styles: navy nav and footer, orange pill buttons, the navy CTA band
   with the 3D shapes. Page-specific deck sections live in marketing-home.css. */

/* Inter, self-hosted (latin, variable weight 100-900) so text never waits on a third-party font request */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #17202E;
  --navy-2: #1E293A;
  --cream: #FBF8F4;
  --orange: #FF5C00;
  --orange-hover: #FF7A2E;
  --blue: #1AA7E0;
  --on-navy: rgba(255, 255, 255, .74);
}

body { background: var(--cream); color: var(--navy); }

/* ---- nav ---- */
.nav { background: rgba(23, 32, 46, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-links a, .nav-login { color: rgba(255, 255, 255, .84); }
.nav-links a:hover, .nav-login:hover { color: var(--orange); }
.nav-burger { background: transparent; border-color: rgba(255, 255, 255, .28); }
.nav-burger span { background: #fff; }
.mobile-menu { background: var(--navy); border-top-color: rgba(255, 255, 255, .1); }
.mobile-menu a { color: #fff; border-bottom-color: rgba(255, 255, 255, .1); }

/* ---- buttons ---- */
.btn-primary { background: var(--orange); box-shadow: 0 12px 28px -12px rgba(255, 92, 0, .75); }
.btn-primary:hover { background: var(--orange-hover); }

/* ---- footer ---- */
footer { background: var(--navy); color: #fff; border-top: 3px solid var(--orange); margin-top: 0; }
.footer-brand p { color: var(--on-navy); }
.socials a { color: #fff; }
.footer-col h4 { color: #fff; }
.footer-col a { color: var(--on-navy); }
.footer-col a:hover, .footer-bottom a:hover, .socials a:hover { color: var(--orange); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }

/* ---- CTA band used by the inner pages: navy with the 3D shapes ---- */
.cta-band { background: var(--navy); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; background-size: contain; background-repeat: no-repeat; pointer-events: none; }
.cta-band::before { width: 190px; height: 190px; top: -48px; left: -40px; background-image: url('/img/marketing/deck/shape-circle-sm.webp'); transform: rotate(-12deg); }
.cta-band::after { width: 230px; height: 230px; bottom: -70px; right: 6%; background-image: url('/img/marketing/deck/shape-tip-sm.webp'); transform: rotate(14deg); }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--orange); }
.cta p { color: var(--on-navy); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.cta .btn-ghost .play { background: #fff; }
.cta .btn-ghost .play svg { fill: var(--navy); }

/* ---- inner-page heroes: navy, white headline, 3D shape (matches the deck's dark slides) ---- */
.hero, .pricing-head { background: var(--navy); border-radius: 0; color: #fff; }
.hero .hero-bg, .pricing-head .hero-bg { display: none; }
.hero::before, .pricing-head::before { content: ""; position: absolute; z-index: 0; width: clamp(150px, 17vw, 260px); aspect-ratio: 1; top: -40px; left: -3%; background: url('/img/marketing/deck/shape-circle-sm.webp') center / contain no-repeat; transform: rotate(-12deg); pointer-events: none; }
.hero::after, .pricing-head::after { content: ""; position: absolute; z-index: 0; width: clamp(150px, 17vw, 260px); aspect-ratio: 1; bottom: -60px; right: -2%; background: url('/img/marketing/deck/shape-tip-sm.webp') center / contain no-repeat; transform: rotate(14deg); pointer-events: none; }
.hero h1, .pricing-head h1, .hero-copy h1 { color: #fff; }
.hero p, .pricing-head p, .hero-copy p, .hero .lead { color: var(--on-navy); }
.hero .btn-ghost, .pricing-head .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero .btn-ghost:hover, .pricing-head .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.pricing-head label { color: rgba(255, 255, 255, .85); }

/* ---- final CTA card on the inner pages ---- */
.final-cta { background: var(--navy) !important; border: 0 !important; }
.final-cta::before { background: none !important; width: clamp(110px, 13vw, 180px); height: clamp(110px, 13vw, 180px); inset: auto; top: -36px; left: -28px; background: url('/img/marketing/deck/shape-circle-sm.webp') center / contain no-repeat !important; transform: rotate(-10deg); }
.final-cta::after { content: ""; position: absolute; width: clamp(110px, 13vw, 190px); height: clamp(110px, 13vw, 190px); bottom: -46px; right: -20px; background: url('/img/marketing/deck/shape-tip-sm.webp') center / contain no-repeat; transform: rotate(14deg); pointer-events: none; }
.final-cta h2 { color: #fff !important; }
.final-cta p { color: var(--on-navy) !important; }
.final-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.final-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---- real product screenshots in the inner pages' feature rows ---- */
.feature-visual.has-shot { padding: 0; min-height: 0; overflow: hidden; background: #fff; display: block; }
.feature-visual.has-shot img { width: 100%; height: auto; display: block; }
.mockup { animation: none !important; }
.hero::before, .pricing-head::before { width: clamp(90px, 10vw, 150px); top: -34px; left: -2%; }
.hero .btn-secondary, .pricing-head .btn-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.hero .btn-secondary:hover, .pricing-head .btn-secondary:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* breathing room between a navy hero and the first content block */
.hero + .resources-section, .hero + .container { padding-top: 64px; }

/* ---- entrance animation: fade in and slide up (classes added by marketing-site.js) ---- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.22, 1, .36, 1) var(--rvd, 0s), transform 1s cubic-bezier(.22, 1, .36, 1) var(--rvd, 0s); }
.rv.in { opacity: 1; transform: none; }
/* section-level reveal from the older pages is replaced by the per-element version above */
.js .reveal, .js .reveal.in-view { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---- mobile: bare three-line menu button and a full-page menu ---- */
.nav-inner { position: relative; z-index: 3; }
@media (max-width: 820px) {
  .nav-logo img { height: 36px; width: auto; }
  .nav-burger { display: flex; width: 52px; height: 52px; margin-right: -10px; border: 0; border-radius: 0; background: transparent; gap: 8px; -webkit-tap-highlight-color: transparent; }
  .nav-burger span { width: 30px; height: 3px; border-radius: 3px; background: #fff; transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .3s ease; }
  .nav:has(.mobile-menu.open) .nav-burger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .nav:has(.mobile-menu.open) .nav-burger span:nth-child(2) { opacity: 0; }
  .nav:has(.mobile-menu.open) .nav-burger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .nav:has(.mobile-menu.open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html:has(.mobile-menu.open), body:has(.mobile-menu.open) { overflow: hidden; }

  .mobile-menu { display: flex; position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; align-items: stretch; padding: 96px 32px 48px; background: var(--navy); border: 0; overflow: hidden auto; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility 0s linear .45s; }
  .mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s ease, visibility 0s; }
  .mobile-menu::after { content: ""; position: absolute; right: -70px; bottom: -50px; width: 240px; height: 240px; background: url('/img/marketing/deck/shape-tip-sm.webp') center / contain no-repeat; transform: rotate(14deg); pointer-events: none; opacity: .95; }
  .mobile-menu a { position: relative; z-index: 1; padding: 14px 0; border: 0; color: #fff; font-size: clamp(34px, 10vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), color .2s; }
  .mobile-menu a:hover { color: var(--orange); }
  .mobile-menu.open a { opacity: 1; transform: none; }
  .mobile-menu.open a:nth-child(1) { transition-delay: .10s; }
  .mobile-menu.open a:nth-child(2) { transition-delay: .16s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: .22s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: .28s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: .34s; }
  .mobile-menu.open a:nth-child(6) { transition-delay: .40s; }
  .mobile-menu a[href="/login"] { margin-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
  .mobile-menu a[href="/signup"] { margin-top: 22px; padding: 18px 28px; border-radius: 999px; background: var(--orange); color: #fff !important; font-size: 18px !important; font-weight: 700 !important; letter-spacing: 0; text-align: center; box-shadow: 0 14px 30px -12px rgba(255, 92, 0, .7); }
}

/* ---- mobile closing section: centered ---- */
@media (max-width: 820px) {
  .closing-logo { display: none; }
  .closing-text { text-align: center; }
  .closing-text .d-lead { margin-left: auto; margin-right: auto; }
  .closing .d-cta { justify-content: center; }
  .closing-photo img { object-position: 62% 50%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%); mask-image: linear-gradient(to bottom, transparent 0, #000 28%); }
}

/* footer column titles (plain text, not part of the heading outline) */
.footer-title { margin: 0 0 18px; font-size: 15px; font-weight: 700; color: #fff; }

/* ---- contrast (WCAG AA) ----
   White on the brand orange is 3.1:1, so white text on orange is large (19px bold
   buttons, 24px hero text). Orange text on light backgrounds is deepened a step. */
.btn { font-size: 19px; }
.btn-sm { font-size: 15px; }
.d-hero .sub { font-size: clamp(24px, 2.2vw, 26px); font-weight: 500; color: #fff; }
.d-hero .fine { color: #fff; font-weight: 500; }
.d-cream .d-title .o, .d-white .d-title .o, .guide .o, .feat h3 .o, .auto h2, .auto h3, .benefit h3 { color: #F25400; }
.facts dt { color: #C74300; }
.d-link { color: #F25400; }
.guide-body a { color: #C74300; }

/* anchored sections (footer "About" and "Contact" links) land below the sticky nav */
[id] { scroll-margin-top: 90px; }
