/* TrafWise AI Network pages: partners.html, connect.html and the customer / partner legal pages.
   Built on styles.css tokens (asphalt, yellow, orange, Barlow Condensed). */
.nav-partner { color: var(--yellow) !important; }
.nw-hero { background: var(--asphalt); color: var(--white); padding: 76px 0 70px; position: relative; overflow: hidden; }
.nw-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--asphalt) 18px 36px); }
.nw-hero .glow { position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,194,14,.20), transparent); pointer-events: none; }
.nw-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin: 16px 0 16px; max-width: 900px; }
.nw-hero p.lead { font-size: 1.18rem; color: #c9ced6; max-width: 720px; margin: 0 0 28px; }
.nw-hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nw-hero .note { color: #9aa1ab; font-size: .92rem; margin-top: 18px; }
.nw-hero .note b { color: var(--yellow); }
.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.nw-chips span { border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 6px 12px; font-size: .86rem; color: #d9dde3; background: rgba(255,255,255,.04); }
.nw-sec { padding: 78px 0; }
.nw-sec.alt { background: var(--concrete); }
.nw-sec h2 { margin: 12px 0 14px; }
.nw-sec .intro { color: #4b5563; font-size: 1.08rem; max-width: 760px; margin: 0 0 34px; }
.nw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.nw-step { background: var(--white); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: 0 2px 14px rgba(0,0,0,.06); position: relative; border-top: 5px solid var(--yellow); }
.nw-step::before { counter-increment: s; content: counter(s); position: absolute; right: 20px; top: 14px; font: 800 3rem/1 var(--display); color: var(--concrete-2); }
.nw-step h3 { font-size: 1.5rem; margin: 0 0 8px; text-transform: uppercase; }
.nw-step p { margin: 0; color: #4b5563; }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nw-card { border: 2px solid var(--concrete-2); border-radius: var(--radius-lg); padding: 24px; background: var(--white); }
.nw-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--asphalt); color: var(--yellow); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; }
.nw-card h3 { font-size: 1.35rem; margin: 0 0 6px; text-transform: uppercase; }
.nw-card p { margin: 0; color: #4b5563; }
.nw-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.nw-list { list-style: none; padding: 0; margin: 0; }
.nw-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--concrete-2); }
.nw-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--asphalt); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.nw-panel { background: var(--asphalt); color: var(--white); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; overflow: hidden; }
.nw-panel h3 { font-size: 1.8rem; text-transform: uppercase; margin: 0 0 10px; }
.nw-panel p { color: #c9ced6; }
.nw-panel .btn { margin-top: 8px; }
.nw-mock { background: var(--white); color: var(--ink); border-radius: 16px; padding: 16px 18px; margin-top: 18px; font-size: .9rem; }
.nw-mock .who { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 6px; }
.nw-mock .pill { background: #e0f2fe; color: #075985; border-radius: 99px; padding: 2px 9px; font-size: .72rem; font-weight: 800; }
.nw-mock p { color: #4b5563; margin: 2px 0; }
.nw-faq details { border-bottom: 1px solid var(--concrete-2); padding: 16px 0; }
.nw-faq summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.nw-faq summary::after { content: "+"; font-weight: 800; color: var(--orange); }
.nw-faq details[open] summary::after { content: "–"; }
.nw-faq p { color: #4b5563; margin: 10px 0 0; }
.nw-cta { background: var(--yellow); padding: 56px 0; }
.nw-cta .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.nw-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.nw-copy { display: flex; gap: 8px; align-items: stretch; max-width: 620px; }
.nw-copy code { flex: 1; background: var(--white); border: 2px solid var(--asphalt); border-radius: 12px; padding: 14px 16px; font: 700 1.05rem ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.nw-quote { background: var(--white); border-left: 5px solid var(--orange); border-radius: 14px; padding: 18px 20px; font-size: 1.05rem; font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.nw-foot { background: #0f1114; color: #aeb4bd; padding: 34px 0; font-size: .9rem; }
.nw-foot .container { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.nw-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.nw-foot a:hover { color: var(--yellow); }
.site-header .nav-cta .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .nw-steps, .nw-grid { grid-template-columns: 1fr; }
  .nw-split { grid-template-columns: 1fr; }
  .nw-sec { padding: 56px 0; }
}
@media (max-width: 560px) {
  .site-header .nav-cta .login { display: none; }
  .nw-copy { flex-direction: column; }
}

/* legal pages */
.legal-hero { background: var(--asphalt); color: var(--white); padding: 64px 0 56px; position: relative; }
.legal-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--asphalt) 18px 36px); }
.legal-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 14px 0 12px; }
.legal-hero .updated { color: #aeb4bd; font-size: .95rem; }
.legal-hero .updated b { color: var(--yellow); }
.legal { width: min(820px, 100% - 40px); margin-inline: auto; padding: 56px 0 90px; font-size: 1.02rem; color: #2b2f36; }
.legal .intro { font-size: 1.12rem; color: #4b5563; margin-bottom: 34px; }
.legal h2 { font-size: 1.9rem; margin: 44px 0 14px; scroll-margin-top: 96px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 24px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--orange); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.callout { background: #fffaf3; border: 1px solid #ffe2c7; border-left: 5px solid var(--orange); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.callout b { display: block; margin-bottom: 6px; }
