﻿/* =========================================================================
   StockNinja 2027 — multi-page components
   Builds on styles.css (homepage design system). Same tokens, same type.
   ========================================================================= */

/* ---------- Navigation: active page ---------- */
.nav-wrap nav > a { position: relative; padding: 6px 0; }
.nav-wrap nav > a.active { color: #fff; }
.nav-wrap nav > a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); border-radius: 2px; }
.nav-actions a.button { color: #fff; }

/* ---------- Shared helpers ---------- */
.lead { font-size: 16px; line-height: 1.8; color: var(--ink); max-width: 560px; }
.muted-note { font-size: 12px; color: var(--muted); }
.badge { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: #f8f0df; color: #91702b; vertical-align: middle; margin-left: 8px; }
.badge.teal { background: var(--mint); color: var(--teal); }
.text-link.on-light { font-size: 13px; }
.section-alt { background: var(--paper); border-block: 1px solid #e9eeeb; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-head p:not(.eyebrow) { font-size: 15px; }
code.url { display: inline-block; margin-top: 3px; font: 600 11.5px/1.6 ui-monospace, Consolas, monospace; background: #edf3f0; color: #23584f; padding: 3px 7px; border-radius: 4px; word-break: break-all; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: linear-gradient(110deg, #fbfcfb 35%, #edf3f1 100%); border-bottom: 1px solid #e3ebe6; overflow: hidden; position: relative; }
.page-hero::after { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border: 1px solid #cbded5; border-radius: 50%; pointer-events: none; }
.page-hero-inner { padding: 84px 0 72px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 4.3vw, 60px); max-width: 780px; margin-bottom: 22px; }
.page-hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.page-hero.compact .page-hero-inner { padding: 64px 0 52px; }
.page-hero.compact h1 { font-size: clamp(36px, 3.6vw, 50px); }

/* ---------- Sticky sub navigation (Features) ---------- */
.subnav { position: sticky; top: 86px; z-index: 15; background: #fffffff2; backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 30px; color: var(--muted); border: 1px solid transparent; }
.subnav a:hover { color: var(--ink); border-color: var(--line); }
.subnav a.current { background: var(--mint); color: var(--teal); }
html { scroll-padding-top: 150px; }

/* ---------- Feature module groups ---------- */
.module-group { padding: 96px 0 40px; scroll-margin-top: 150px; }
.module-group + .module-group { border-top: 1px solid var(--line); }
.group-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 44px; max-width: 820px; }
.group-head .step-icon { width: 56px; height: 56px; }
.group-head h2 { font-size: 40px; margin-bottom: 12px; }
.group-head p:not(.eyebrow) { font-size: 15px; margin: 0; }
.group-head .eyebrow { margin-bottom: 10px; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.module-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.module-card:hover { border-color: #c8dad2; box-shadow: 0 12px 30px #1738290d; }
.module-card h3 { font-size: 19px; margin-bottom: 10px; }
.module-card > p { font-size: 13.5px; line-height: 1.8; margin-bottom: 6px; }
.module-card .check-list { margin: 14px 0 0; }
.module-card .check-list li { font-size: 12.5px; line-height: 1.7; margin-bottom: 8px; color: #45545b; }
.module-card .tip { font-size: 12px; color: #526e5e; background: #f3f7f5; border-radius: 6px; padding: 10px 12px; margin-top: 14px; }
.module-card.wide { grid-column: 1 / -1; }

/* Reports grid */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.report-item { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: #fff; }
.report-item h3 { font-size: 14px; letter-spacing: -.01em; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.report-item h3::before { content: '↗'; color: var(--teal); font-size: 12px; }
.report-item p { font-size: 12px; line-height: 1.7; margin: 0; }
.report-cat { grid-column: 1 / -1; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #73877f; margin: 18px 0 2px; }
.report-cat:first-child { margin-top: 0; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.trust-strip > div { padding: 24px 26px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip b { display: block; font-size: 14px; margin-bottom: 4px; }
.trust-strip span { font-size: 12px; color: var(--muted); }

/* Suggest-a-feature callout */
.callout { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--mint); border: 1px solid #d6e6dd; border-radius: 12px; padding: 34px 38px; }
.callout h3 { font-size: 24px; margin-bottom: 8px; }
.callout p { margin: 0; font-size: 14px; max-width: 620px; }

/* ---------- Bundle (StockNinja + WCA) ---------- */
.bundle-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.bundle-card { border: 1px solid #d5e2d9; border-radius: 12px; background: #fff; padding: 34px; box-shadow: 0 15px 40px #17382908; display: flex; flex-direction: column; }
.bundle-card .bundle-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; min-height: 48px; }
.bundle-card .bundle-top img { width: 150px; }
.bundle-card .wca-mark { font: 600 20px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; color: #5b3a1e; }
.bundle-card .wca-mark small { display: block; font: 700 9px/1.6 var(--font); letter-spacing: .14em; color: #8b6d4f; margin-top: 4px; }
.bundle-card h3 { font-size: 22px; margin-bottom: 10px; }
.bundle-card > p { font-size: 13.5px; }
.bundle-card .check-list li { font-size: 13px; line-height: 1.7; color: #45545b; }
.bundle-card .value { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.bundle-card .value b { color: var(--ink); }
.bundle-card.wca { background: #fdfbf7; border-color: #ece3d4; }
.bundle-plus { display: grid; place-items: center; font-size: 30px; color: var(--teal); font-weight: 300; }
.bundle-plus span { width: 54px; height: 54px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.bundle-total { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: var(--nav); color: #fff; border-radius: 12px; padding: 26px 32px; }
.bundle-total p { color: #cbd4d8; margin: 0; font-size: 14px; }
.bundle-total strong { color: #fff; font-size: 26px; letter-spacing: -.04em; margin-right: 6px; }

/* ---------- Pricing page ---------- */
.pricing-hero-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border: 1px solid #d5e2d9; border-radius: 14px; overflow: hidden; box-shadow: 0 25px 60px #1738290f; background: #fff; }
.pricing-hero-card .price-side { background: var(--nav); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; }
.pricing-hero-card .price-side .eyebrow { color: #8fd0bf; }
.pricing-hero-card .price-side .price { margin-top: 6px; }
.pricing-hero-card .price-side .price > span { font-size: 78px; color: #fff; }
.pricing-hero-card .price-side .price > div { color: #cbd4d8; font-size: 13px; }
.pricing-hero-card .price-side .price small { color: #8b9b9f; font-size: 11px; }
.pricing-hero-card .price-side p { color: #cbd4d8; font-size: 13px; }
.pricing-hero-card .price-side .button { margin-top: auto; width: 100%; justify-content: space-between; }
.pricing-hero-card .price-side .pricing-notes { color: #cbd4d8; flex-wrap: wrap; margin: 18px 0 28px; gap: 10px 22px; }
.pricing-hero-card .include-side { padding: 40px 42px; display: grid; gap: 28px; }
.include-block h3 { font-size: 17px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.include-block .check-list { margin: 12px 0 0; }
.include-block .check-list li { font-size: 13px; margin-bottom: 9px; color: #45545b; }
.include-block + .include-block { border-top: 1px solid var(--line); padding-top: 26px; }
.include-block .regular { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { list-style: none; border-top: 2px solid var(--teal); padding-top: 22px; }
.steps li::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--teal); margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 13.5px; margin: 0; }
ol.steps { padding: 0; margin: 0; }

.policy { border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; background: #fff; }
.policy h3 { font-size: 16px; margin-bottom: 8px; }
.policy p { font-size: 13.5px; margin-bottom: 0; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Signup (Get started) ---------- */
.signup-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.form-card { border: 1px solid #d5e2d9; border-radius: 12px; background: #fff; padding: 38px 40px; box-shadow: 0 15px 40px #17382908; }
.form-card h2 { font-size: 30px; margin-bottom: 8px; }
.form-card > p { font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: #3d4c53; margin-bottom: 7px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 14px/1.5 var(--font); color: var(--ink); background: #fbfcfb; border: 1px solid #cfdcd6; border-radius: 6px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #207e7322; background: #fff; }
.field-error { display: block; font-size: 12px; color: #b3261e; margin-top: 6px; }
.validation-summary { background: #fdeeed; border: 1px solid #f3c9c5; color: #8c1d18; border-radius: 6px; padding: 12px 16px; font-size: 13px; margin-bottom: 18px; }
.validation-summary ul { margin: 6px 0 0; padding-left: 18px; }
.form-message { display: block; font-size: 13px; margin-top: 14px; }
.form-message.text-danger { color: #b3261e; }
.form-card .button { width: 100%; justify-content: space-between; margin-top: 6px; }
.form-fineprint { font-size: 11px; color: #7d8a82; margin-top: 16px; line-height: 1.7; }
.form-fineprint a { text-decoration: underline; }
.signup-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.signup-aside .price-card .price > span { font-size: 56px; }
.signup-aside .price-card .check-list li { font-size: 12.5px; }
.aside-note { border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; }
.aside-note h3 { font-size: 15px; margin-bottom: 6px; }
.aside-note p { font-size: 12.5px; margin: 0; line-height: 1.8; }

/* ---------- Thank you / 404 ---------- */
.message-page { padding: 110px 0 120px; text-align: center; }
.message-page .big-check { width: 74px; height: 74px; margin: 0 auto 28px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 32px; font-weight: 700; }
.message-page h1 { font-size: clamp(38px, 4vw, 54px); margin-bottom: 18px; }
.message-page .lead { margin: 0 auto 34px; }
.message-page .hero-actions { justify-content: center; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 54px auto 0; text-align: left; }
.next-steps > div { border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.next-steps b { display: block; font-size: 14px; margin-bottom: 6px; }
.next-steps span { font-size: 12.5px; color: var(--muted); }
.big-404 { font-size: 120px; font-weight: 700; letter-spacing: -.06em; color: var(--mint); line-height: 1; margin-bottom: 10px; -webkit-text-stroke: 1px #c7dcd2; }

/* ---------- Mobile page ---------- */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.capability { border: 1px solid var(--line); border-radius: 10px; padding: 26px; background: #fff; }
.capability .step-icon { margin-bottom: 18px; }
.capability h3 { font-size: 17px; margin-bottom: 8px; }
.capability p { font-size: 13px; margin: 0; line-height: 1.8; }
.together-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.together-card { border-radius: 12px; padding: 34px; }
.together-card.web { background: var(--nav); color: #fff; }
.together-card.web p, .together-card.web li { color: #cbd4d8; }
.together-card.web .eyebrow { color: #8fd0bf; }
.together-card.android { background: var(--mint); border: 1px solid #d6e6dd; }
.together-card h3 { font-size: 24px; margin-bottom: 10px; }
.together-card .check-list li { font-size: 13px; }
.together-card.web .check-list li::before { color: #8fd0bf; }
.page-hero .mobile-art { height: 500px; }

/* ---------- About ---------- */
.story-long { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.story-long h2 { font-size: 38px; }
.story-long p { font-size: 15px; line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { border-top: 2px solid var(--teal); padding-top: 22px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; margin: 0; line-height: 1.85; }
.wca-band { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.wca-band h2 { font-size: 38px; }
.wca-band p { font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 120px; }
.contact-card .step-icon { margin-bottom: 18px; }
.contact-card h2 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.03em; }
.contact-card p { font-size: 13px; line-height: 1.8; }
.contact-card a.mail { margin-top: auto; font-weight: 600; font-size: 13.5px; color: var(--teal); word-break: break-word; }
.contact-card a.mail:hover { text-decoration: underline; }
.address-card { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; }
.address-card p { margin: 0; font-size: 14px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; padding: 70px 0 100px; }
.legal .effective { font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 22px; letter-spacing: -.03em; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.85; color: #46555c; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--teal); text-decoration: underline; }

/* ---------- FAQ on interior pages ---------- */
.faq-list summary { font-size: 14px; }
.faq-list details p { font-size: 13.5px; }

/* ---------- Ninja saying strip ---------- */
.ninja-strip { background: #1b2a34; color: #dfe6e8; border-top: 1px solid #ffffff10; }
.ninja-inner { display: flex; align-items: center; gap: 26px; padding: 20px 0; }
.ninja-label { font-size: 9px; letter-spacing: .16em; font-weight: 700; color: var(--red); white-space: nowrap; }
.ninja-strip p { margin: 0; color: #dfe6e8; font-size: 14px; font-style: italic; }

/* ---------- Footer (multi-column) ---------- */
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.footer-cols a:hover { color: #fff; }
.footer-brand p { font-size: 12px; color: #8b9b9f; margin: 4px 0 0; }
.footer-brand .footer-small a { text-decoration: underline; }
.footer-heading { font-size: 9px; letter-spacing: .16em; color: #8b9b9f; font-weight: 700; margin: 0 0 6px; }
.footer-legal { display: flex; gap: 20px; }
.footer-bottom { font-size: 10px; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1150px) {
  .page-hero-split { gap: 30px; }
  .page-hero .mobile-art { transform: scale(.9); transform-origin: left center; }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero .mobile-art { transform: scale(.85); transform-origin: left top; margin-bottom: -60px; }
  .module-grid, .policy-grid, .together-grid { grid-template-columns: 1fr; }
  .group-head h2, .section-head h2 { font-size: 32px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-plus { padding: 0; }
  .pricing-hero-card { grid-template-columns: 1fr; }
  .steps, .capability-grid, .value-grid, .contact-grid, .next-steps { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-aside { position: static; }
  .story-long, .wca-band { grid-template-columns: 1fr; gap: 26px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 130px; }
  .subnav { top: 72px; }
  .page-hero-inner { padding: 56px 0 50px; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .lead { font-size: 15px; }
  .module-group { padding: 64px 0 24px; }
  .group-head { grid-template-columns: 1fr; gap: 14px; }
  .module-card { padding: 22px; }
  .report-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .bundle-card { padding: 26px; }
  .pricing-hero-card .price-side, .pricing-hero-card .include-side { padding: 30px 24px; }
  .pricing-hero-card .price-side .price > span { font-size: 62px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero .mobile-art { width: 450px; transform: scale(.72); margin-bottom: -140px; }
  /* keep the fixed-width phone art from widening the text column */
  .mobile-grid, .page-hero-split { grid-template-columns: minmax(0, 1fr); }
  .mobile-grid > *, .page-hero-split > * { min-width: 0; }
  .address-card { flex-direction: column; align-items: flex-start; }
  .ninja-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { gap: 16px; }
  .big-404 { font-size: 90px; }
}

/* ---------- Android app dashboard mockup (home hero phone) ----------
   Mirrors the real StockNinja Android Dashboard: top bar with wordmark and saying,
   pinned two-column tiles (red top edge, gold star, red add button), At a Glance. */
.hero-phone { background: #f5f7fa; }
.app-screen { width: 161px; transform-origin: top left; }
.app-topbar { background: #fff; position: relative; text-align: center; padding: 3px 8px 5px; border-bottom: 1px solid #e6eaef; }
.app-topbar img { width: 84px; height: auto; display: block; margin: 0 auto; }
.app-topbar p { margin: 2px 0 0; font-size: 4.6px; line-height: 1.3; color: #5f6c7b; }
.app-menu { position: absolute; left: 8px; top: 7px; font-size: 10px; color: #18212d; line-height: 1; }
.app-body { padding: 7px 7px 10px; color: #18212d; }
.app-body h3 { font-size: 10px; letter-spacing: -.02em; margin: 0 0 1px; font-weight: 700; }
.app-sub { font-size: 4.8px; color: #5f6c7b; margin: 0 0 6px; line-height: 1.4; }
.app-body h4 { font-size: 6.6px; margin: 0 0 4px; font-weight: 700; letter-spacing: -.01em; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 7px; }
.app-tile { background: #fff; border-radius: 3px; border-top: 1.5px solid rgba(224, 25, 45, .72); box-shadow: 0 1px 2px #18212d1f; padding: 3px 4px 3px 5px; min-height: 52px; display: flex; flex-direction: column; }
.app-tile-top { display: flex; justify-content: space-between; align-items: center; height: 11px; }
.app-tile svg, .app-metric svg { width: 8px; height: 8px; fill: none; stroke: #18212d; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-star { color: #d9a441; font-size: 7px; line-height: 1; }
.app-tile b { font-size: 5.6px; line-height: 1.2; margin-top: 1px; }
.app-tile-foot { display: flex; align-items: flex-end; gap: 2px; margin-top: auto; }
.app-tile-foot small { font-size: 3.9px; line-height: 1.35; color: #5f6c7b; flex: 1; }
.app-add { width: 9px; height: 9px; border-radius: 50%; background: #e0192d; color: #fff; font-size: 7px; line-height: 9px; text-align: center; flex: none; font-weight: 600; }
.app-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-bottom: 5px; }
.app-chips span { font-size: 4.8px; text-align: center; border: 1px solid #c9d1da; border-radius: 3px; padding: 2px 0; color: #18212d; }
.app-chips span.on { background: #e3e8ee; border-color: #e3e8ee; font-weight: 600; }
.app-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.app-metric { background: #fff; border-radius: 3px; border-top: 1.5px solid rgba(224, 25, 45, .72); box-shadow: 0 1px 2px #18212d1f; padding: 4px 5px; display: flex; flex-direction: column; gap: 1px; }
.app-metric svg { stroke: #e0192d; }
.app-metric b { font-size: 7px; letter-spacing: -.02em; }
.app-metric small { font-size: 4.2px; color: #5f6c7b; line-height: 1.3; }
.hero-phone .phone-status { background: #fff; }
@media (max-width: 680px) {
  .hero-phone .app-screen { transform: scale(.77); }
}

/* ---------- Standalone app phone (On the go page) ---------- */
.app-phone-wrap { position: relative; width: 248px; height: 489px; margin: 0 auto; }
.app-phone-wrap::before { content: ''; position: absolute; inset: 40px -60px; background: radial-gradient(circle, #e2efe9 0%, transparent 70%); z-index: 0; }
.hero-phone.app-phone { position: absolute; left: 0; top: 0; right: auto; transform: scale(1.45) rotate(2deg); transform-origin: top left; z-index: 1; }
.tools-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1150px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .app-phone-wrap { margin-top: 10px; } }
@media (max-width: 680px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero-phone.app-phone { width: 171px; height: 337px; border-width: 5px; border-radius: 27px; transform: scale(1.3) rotate(2deg); }
  .hero-phone.app-phone .app-screen { transform: none; }
  .app-phone-wrap { width: 222px; height: 438px; }
}

/* ---------- Features hero: module map ---------- */
.module-map { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.map-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #d5e2d9; border-radius: 10px; padding: 20px 20px 18px; box-shadow: 0 12px 30px #1738290a; transition: transform .2s, box-shadow .2s, border-color .2s; }
.map-card:hover { transform: translateY(-2px); border-color: #b9d3c7; box-shadow: 0 16px 34px #17382914; }
.map-card .step-icon { margin-bottom: 8px; }
.map-num { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.map-card b { font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.map-card small { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 680px) { .module-map { gap: 10px; } .map-card { padding: 16px; } .map-card b { font-size: 17px; } .map-card small { font-size: 12.5px; } }

/* ---------- Hero right-hand panels (Pricing, Our story, Contact, Get started) ---------- */
.page-hero.compact .page-hero-split { grid-template-columns: 1.15fr .85fr; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.hero-stats > div { background: #fff; border: 1px solid #d5e2d9; border-radius: 10px; padding: 18px 20px; box-shadow: 0 12px 30px #1738290a; }
.hero-stats b { display: block; font-size: 34px; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.hero-stats > div:first-child b { color: var(--teal); }
.hero-stats span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.story-note { position: relative; z-index: 1; justify-self: center; width: min(100%, 380px); background: #fbf7ef; border: 1px solid #ebe1cf; border-radius: 6px; padding: 30px 30px 24px; box-shadow: 0 22px 44px #3b2f1a17; transform: rotate(-2deg); }
.story-note h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.03em; margin: 14px 0 18px; }
.story-note p { font-size: 15px; margin: 0; padding: 9px 0; border-top: 1px solid #e9dfcc; color: #45545b; }
.story-note p span { color: var(--teal); font-weight: 700; padding-right: 8px; }
.story-note .note-signoff { font-size: 12.5px; margin-top: 14px; font-style: italic; color: #8a7a5f; }
.story-note .tiny-eyebrow { font-size: 10.5px; letter-spacing: .14em; color: #8a7a5f; font-weight: 700; }

.hero-card { position: relative; z-index: 1; background: #fff; border: 1px solid #d5e2d9; border-radius: 12px; padding: 26px 28px; box-shadow: 0 15px 40px #1738290d; }
.hero-card .tiny-eyebrow { font-size: 10.5px; letter-spacing: .14em; color: var(--teal); font-weight: 700; }
.hero-card-mail { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 10px 0 8px; word-break: break-word; }
.hero-card-mail:hover { color: var(--teal); text-decoration: underline; }
.hero-card p { font-size: 15px; margin: 0; }
.hero-card .hero-card-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.hero-steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; gap: 10px; counter-reset: hs; }
.hero-steps li { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: center; background: #fff; border: 1px solid #d5e2d9; border-radius: 10px; padding: 14px 18px; box-shadow: 0 10px 26px #1738290a; }
.hero-steps li::before { counter-increment: hs; content: counter(hs); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.hero-steps b { font-size: 16px; }
.hero-steps span { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .page-hero.compact .page-hero-split { grid-template-columns: 1fr; }
  .story-note { justify-self: start; transform: rotate(-1deg); }
}
@media (max-width: 680px) {
  .hero-stats b { font-size: 28px; }
  .hero-stats > div { padding: 14px 16px; }
  .story-note { padding: 24px 22px 20px; }
  .story-note h3 { font-size: 22px; }
  .hero-card-mail { font-size: 17px; }
}
