/* HAIGA — small shared additions on top of styles.css (live design): nav with Tutorials/Onboarding links, chips, a11y helper */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- shared chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip--shu { background: rgba(46,230,197,.12); border-color: rgba(46,230,197,.35); color: var(--accent); }
.chip--asagi { background: rgba(77,124,254,.14); border-color: rgba(77,124,254,.35); color: #8aa6ff; }


/* nav with 7 links: collapse to the menu button a little earlier */
@media (max-width: 1320px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open { border-radius: 24px; background: rgba(10,13,19,.95); flex-wrap: wrap; border-color: var(--line); }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; padding: 12px 0 6px; order: 3; }
  .nav.open .nav-links a { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .nav.open .nav-toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* ---------- product pages (trucking / freight / warehouse / WhatsApp AI) ---------- */
.page-hero--product h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 20ch; }
.product-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.product-panel { padding: 8px 0; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); padding: 0 22px; transition: border-color .3s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 20px; margin: 0; }
.faq-item a { color: var(--accent); }
.rel-card { display: block; color: inherit; text-decoration: none; }
.rel-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.rel-more svg { width: 16px; height: 16px; transition: transform .3s; }
.rel-card:hover .rel-more svg { transform: translateX(4px); }
.panel-cta .learn-more { color: var(--accent); }

/* WhatsApp team chatbot capabilities (home + WA page) */
.wa-team { margin-top: 72px; }
.wa-team h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 12px 0 12px; }
.wa-team .lead { max-width: 62ch; }
.wa-team-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 18px; }

/* who / why (below impact) */
.who-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.who-person { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 28px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.who-photo { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(46,230,197,.25), rgba(90,120,255,.25)); overflow: hidden; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
.who-photo .initials { font-size: 44px; font-weight: 800; letter-spacing: .04em; }
.who-person h3 { margin: 0; font-size: 26px; }
.who-role { display: block; opacity: .7; margin: 4px 0 14px; }
.who-person p { margin: 0 0 16px; line-height: 1.6; }
.who-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.who-tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(46,230,197,.35); font-size: 13px; }
.who-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-pt { padding: 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.who-pt b { display: block; margin-bottom: 8px; font-size: 16px; }
.who-pt p { margin: 0; opacity: .8; line-height: 1.55; font-size: 14px; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .who-person { grid-template-columns: 1fr; } .who-photo { width: 120px; } .who-points { grid-template-columns: 1fr; } }

/* impact tracker */
.tracker { margin: 0 auto 40px; padding: 24px; border-radius: 20px; border: 1px solid rgba(46,230,197,.25); background: rgba(46,230,197,.04); }
.tracker-title { display: block; text-align: center; margin-bottom: 18px; font-size: 18px; }
.tracker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tracker-grid div { text-align: center; padding: 12px 8px; }
.tracker-grid strong { display: block; font-size: 24px; font-weight: 800; }
.tracker-grid small { display: block; opacity: .75; margin-top: 4px; line-height: 1.35; }
.tracker .form-note { text-align: center; margin: 16px 0 0; }
.tracker-grid strong { white-space: nowrap; }
.who-socials { margin: 0 0 20px; }
/* iOS WebKit paints the negative-z-index hero video over the text unless the hero is its own stacking context */
.hero { isolation: isolate; }
/* isolation alone did not fix iOS Safari: keep every hero layer at z >= 0 and give the text its own compositing layer */
.hero-poster img, .hero-video, .hero-shade, .hero .aurora { z-index: 0; }
.hero > .container { position: relative; z-index: 2; transform: translateZ(0); }
.foot-addr { opacity: .6; font-size: 13px; margin-top: 8px; }
