/* =====================================================================
   Proof of Travel — shared stylesheet
   Used by every page across the site. Page-specific overrides may live
   in a small <style> block at the top of individual pages, but should
   stay minimal.
   ===================================================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#f7f8fa;
  --bg-white:#ffffff;
  --navy:#0d1b2e;
  --navy-mid:#1a2f48;
  --teal:#007a63;
  --teal-light:#e6f4f1;
  --teal-mid:#00a887;
  --slate:#5a6a7e;
  --slate-light:#8a9ab0;
  --border:#dde2ea;
  --border-teal:rgba(0,168,135,0.25);
  --fh:'Space Grotesk',-apple-system,BlinkMacSystemFont,sans-serif;
  --fb:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
}

html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--navy);font-family:var(--fb);line-height:1.6;-webkit-font-smoothing:antialiased}

/* ── NAV ── */
nav{
  position:sticky;top:0;z-index:100;
  background:var(--bg-white);
  border-bottom:1px solid var(--border);
  padding:0 2rem;
  display:flex;align-items:center;justify-content:space-between;
  height:76px;
}
.n-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.n-logo img{height:56px;width:auto;object-fit:contain;display:block}
.n-logo-text{font-family:var(--fh);font-weight:700;font-size:1.1rem;color:var(--navy);letter-spacing:-.01em;white-space:nowrap;display:none}
.n-links{display:flex;gap:1.25rem;list-style:none;align-items:center}
.n-links a{font-size:.7rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--slate);text-decoration:none;white-space:nowrap;transition:color .15s}
.n-links a:hover,.n-links a.active{color:var(--navy)}
.n-cta{font-size:.72rem;font-weight:600;background:var(--navy);color:#fff;padding:.42rem 1rem;border-radius:5px;text-decoration:none;letter-spacing:.02em;white-space:nowrap;transition:background .15s;flex-shrink:0}
.n-cta:hover{background:var(--navy-mid)}

/* ── HAMBURGER TOGGLE (mobile only) ── */
.n-toggle{
  display:none;
  background:transparent;border:none;cursor:pointer;
  width:40px;height:40px;padding:9px 8px;
  flex-direction:column;justify-content:space-between;align-items:stretch;
  margin-left:auto;
}
.n-toggle .n-bar{
  display:block;height:2px;background:var(--navy);border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
  transform-origin:center;
}
.n-toggle[aria-expanded="true"] .n-bar:nth-child(1){transform:translateY(9px) rotate(45deg)}
.n-toggle[aria-expanded="true"] .n-bar:nth-child(2){opacity:0}
.n-toggle[aria-expanded="true"] .n-bar:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
.n-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:5px}

/* ── HERO ── */
.hero-wrap{
  background-color:var(--bg);
  background-image:radial-gradient(circle,#c8d0db 1px,transparent 1px);
  background-size:28px 28px;
  border-bottom:1px solid var(--border);
  position:relative;
}
.hero-wrap::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(247,248,250,0) 60%,rgba(247,248,250,1) 100%);
  pointer-events:none;
}
.hero{
  display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;
  align-items:center;padding:3rem 2rem;
  max-width:1100px;margin:0 auto;
  position:relative;z-index:1;
}
.h-badge{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.67rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--teal);background:rgba(255,255,255,.85);
  border:1px solid var(--border-teal);
  padding:.32rem .85rem;border-radius:100px;margin-bottom:1.1rem;
}
.h-dot{width:6px;height:6px;border-radius:50%;background:var(--teal-mid);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
.hero h1{
  font-family:var(--fh);font-size:clamp(2rem,3.2vw,2.9rem);
  font-weight:700;line-height:1.2;letter-spacing:-.02em;
  color:var(--navy);margin-bottom:1rem;
}
.hero h1 em{font-style:normal;color:var(--teal)}
.h-sub{font-size:.875rem;color:var(--slate);max-width:400px;margin-bottom:1.75rem;line-height:1.8;font-weight:300}
.h-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}

/* ── PAGE HEADER (inner pages) ── */
.page-header{
  background-color:var(--bg);
  background-image:radial-gradient(circle,#c8d0db 1px,transparent 1px);
  background-size:28px 28px;
  border-bottom:1px solid var(--border);
  position:relative;
}
.page-header::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(247,248,250,0) 60%,rgba(247,248,250,1) 100%);
  pointer-events:none;
}
.page-header-inner{
  max-width:1100px;margin:0 auto;
  padding:3rem 2rem 2.5rem;
  position:relative;z-index:1;
}
.page-header h1{
  font-family:var(--fh);font-size:clamp(1.8rem,2.8vw,2.5rem);
  font-weight:700;line-height:1.2;letter-spacing:-.02em;
  color:var(--navy);margin-bottom:.8rem;max-width:680px;
}
.page-header h1 em{font-style:normal;color:var(--teal)}
.page-header .lead{font-size:.9rem;color:var(--slate);max-width:560px;line-height:1.8;font-weight:300}

/* ── BUTTONS ── */
.btn-p{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--navy);color:#fff;
  font-family:var(--fb);font-weight:600;font-size:.78rem;
  padding:.6rem 1.4rem;border-radius:5px;text-decoration:none;
  transition:background .15s,transform .1s;
  border:none;cursor:pointer;
}
.btn-p:hover{background:var(--navy-mid);transform:translateY(-1px)}
.btn-g{font-size:.78rem;font-weight:500;color:var(--slate);text-decoration:none;transition:color .15s}
.btn-g:hover{color:var(--navy)}
.btn-w{
  display:inline-flex;align-items:center;gap:6px;
  background:#fff;color:var(--navy);font-weight:700;font-size:.78rem;
  padding:.6rem 1.4rem;border-radius:5px;text-decoration:none;transition:opacity .15s;
}
.btn-w:hover{opacity:.9}
.btn-wg{font-size:.78rem;font-weight:500;color:rgba(255,255,255,.45);text-decoration:none;transition:color .15s;display:inline-flex;align-items:center;gap:5px}
.btn-wg:hover{color:#fff}
.btn-o{
  display:inline-flex;align-items:center;gap:6px;
  background:transparent;color:var(--navy);
  border:1px solid var(--border);
  font-weight:600;font-size:.78rem;
  padding:.55rem 1.3rem;border-radius:5px;text-decoration:none;
  transition:border-color .15s,color .15s;
}
.btn-o:hover{border-color:var(--navy);color:var(--navy)}

/* ── LIVE FEED CARD ── */
.feed-card{background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.feed-header{background:var(--navy);padding:.65rem 1rem;display:flex;align-items:center;justify-content:space-between}
.feed-title{font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.feed-live{display:flex;align-items:center;gap:5px;font-size:.65rem;color:#4ade80}
.feed-pulse{width:6px;height:6px;border-radius:50%;background:#4ade80;animation:pulse 2s infinite}
.feed-body{padding:.25rem 0}
.ev-row{display:flex;align-items:center;gap:10px;padding:.55rem 1rem;border-bottom:1px solid #f1f3f6}
.ev-row:last-child{border-bottom:none}
.ev-icon{width:28px;height:28px;border-radius:6px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ev-icon svg{width:13px;height:13px;stroke:var(--teal);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ev-info{flex:1;min-width:0}
.ev-name{font-size:.72rem;font-weight:500;color:var(--navy)}
.ev-hash{font-size:.6rem;font-family:monospace;color:var(--slate-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev-badge{font-size:.58rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--teal);background:var(--teal-light);padding:2px 7px;border-radius:100px;flex-shrink:0}
.feed-foot{background:#f8f9fb;padding:.55rem 1rem;display:flex;justify-content:space-between;border-top:1px solid var(--border)}
.feed-foot-l{font-size:.62rem;color:var(--slate-light)}
.feed-foot-r{font-size:.62rem;font-family:monospace;color:var(--teal)}

/* ── TRUST STRIP ── */
.trust{background:var(--bg-white);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:.9rem 2rem}
.trust-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:.75rem 2rem;align-items:center;justify-content:space-between}
.t-item{display:flex;align-items:center;gap:7px}
.t-check{width:15px;height:15px;border-radius:50%;background:var(--teal-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.t-check svg{width:8px;height:8px;stroke:var(--teal);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.t-text{font-size:.72rem;color:var(--slate)}

/* ── LOGO STRIP ── */
.logo-strip{background:var(--bg-white);border-bottom:1px solid var(--border);padding:1.25rem 2rem}
.logo-strip-inner{max-width:1100px;margin:0 auto}
.ls-label{font-size:.62rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--slate-light);text-align:center;margin-bottom:1rem}
.ls-logos{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1.25rem}
.ls-logo-pill{height:26px;background:var(--bg);border:1px solid var(--border);border-radius:5px;padding:0 .9rem;display:flex;align-items:center}
.ls-logo-text{font-family:var(--fh);font-size:.68rem;font-weight:700;color:var(--slate);letter-spacing:.03em}

/* ── PHOTO / VIDEO SECTIONS ── */
.photo-section{background:var(--bg-white);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.photo-inner{max-width:1100px;margin:0 auto;padding:2.5rem 2rem;display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.photo-frame{border-radius:10px;overflow:hidden;border:1px solid var(--border);aspect-ratio:16/10;background:var(--bg);display:flex;align-items:center;justify-content:center;position:relative}
.photo-frame img{width:100%;height:100%;object-fit:cover;display:block}
.photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:var(--slate-light)}
.photo-placeholder svg{width:28px;height:28px;stroke:var(--slate-light);fill:none;stroke-width:1.5}
.photo-placeholder span{font-size:.65rem;letter-spacing:.06em;text-transform:uppercase}
.video-thumb{cursor:pointer}
.video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.play-btn{width:44px;height:44px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center;opacity:.85;transition:opacity .15s}
.play-btn:hover{opacity:1}
.play-btn svg{width:16px;height:16px;fill:#fff;margin-left:3px}

/* ── INLINE HTML5 VIDEO ── */
.video-frame{
  border-radius:10px;overflow:hidden;border:1px solid var(--border);
  aspect-ratio:16/10;background:#000;position:relative;
}
.video-frame video{
  width:100%;height:100%;object-fit:cover;display:block;background:#000;
}

/* ── CASE STUDY ROW (alternating layout) ── */
.cs-row{
  display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;
  align-items:center;
  padding:2rem 0;
}
.cs-row + .cs-row{border-top:1px solid var(--border)}
.cs-row.reverse .cs-media{order:2}
.cs-row.reverse .cs-text{order:1}
.cs-num{font-family:var(--fh);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:.5rem}
.cs-title{font-family:var(--fh);font-size:clamp(1.2rem,1.8vw,1.5rem);font-weight:700;line-height:1.3;color:var(--navy);letter-spacing:-.015em;margin-bottom:.75rem}
.cs-body{font-size:.88rem;color:var(--slate);line-height:1.85;font-weight:300}
.cs-body p + p{margin-top:.7rem}

/* ── SECTIONS ── */
section{max-width:1100px;margin:0 auto;padding:2.5rem 2rem}
.s-eye{font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:.5rem}
.s-title{font-family:var(--fh);font-size:clamp(1.5rem,2.3vw,2rem);font-weight:600;line-height:1.25;letter-spacing:-.015em;color:var(--navy);margin-bottom:.75rem;max-width:560px}
.s-body{font-size:.83rem;color:var(--slate);max-width:500px;line-height:1.8;font-weight:300;margin-bottom:1.75rem}
.divider{border:none;border-top:1px solid var(--border);margin:0}

/* ── PROSE (long-form copy on inner pages) ── */
.prose{max-width:720px}
.prose h2{font-family:var(--fh);font-size:1.4rem;font-weight:700;line-height:1.3;color:var(--navy);letter-spacing:-.015em;margin:2rem 0 .75rem}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--fh);font-size:1.1rem;font-weight:700;line-height:1.3;color:var(--navy);letter-spacing:-.01em;margin:1.5rem 0 .55rem}
.prose p{font-size:.88rem;color:var(--slate);line-height:1.85;font-weight:300;margin-bottom:1rem}
.prose ul,.prose ol{padding-left:1.25rem;margin-bottom:1rem}
.prose li{font-size:.88rem;color:var(--slate);line-height:1.8;font-weight:300;margin-bottom:.4rem}
.prose strong{color:var(--navy);font-weight:600}
.prose code{font-family:monospace;font-size:.82rem;background:var(--teal-light);color:var(--teal);padding:1px 6px;border-radius:4px}
.prose a{color:var(--teal);text-decoration:none;border-bottom:1px solid var(--border-teal);transition:border-color .15s}
.prose a:hover{border-color:var(--teal)}

/* ── STEPS ── */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.step-card{background:var(--bg-white);border:1px solid var(--border);border-radius:10px;padding:1.25rem;transition:border-color .2s,transform .15s}
.step-card:hover{border-color:var(--border-teal);transform:translateY(-2px)}
.step-num{font-family:var(--fh);font-size:2rem;font-weight:800;color:var(--teal);opacity:.35;line-height:1;margin-bottom:.65rem}
.step-title{font-family:var(--fh);font-size:.8rem;font-weight:700;color:var(--navy);margin-bottom:.3rem}
.step-body{font-size:.73rem;color:var(--slate);line-height:1.7}

/* ── USE CASES ── */
.use-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.use-card{background:var(--bg-white);border:1px solid var(--border);border-radius:10px;padding:1rem 1.1rem;display:flex;gap:.8rem;align-items:flex-start;transition:border-color .2s}
.use-card:hover{border-color:var(--border-teal)}
.use-icon{width:34px;height:34px;border-radius:7px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.use-icon svg{width:15px;height:15px;stroke:var(--teal);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.use-title{font-family:var(--fh);font-size:.77rem;font-weight:700;color:var(--navy);margin-bottom:.25rem}
.use-body{font-size:.71rem;color:var(--slate);line-height:1.65}

/* ── DOCS / WHITEPAPER LIST ── */
.doc-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.doc-card{background:var(--bg-white);border:1px solid var(--border);border-radius:10px;padding:1.25rem;display:flex;flex-direction:column;gap:.6rem;transition:border-color .2s,transform .15s}
.doc-card:hover{border-color:var(--border-teal);transform:translateY(-2px)}
.doc-meta{font-size:.6rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal)}
.doc-title{font-family:var(--fh);font-size:.95rem;font-weight:700;color:var(--navy);line-height:1.3}
.doc-body{font-size:.78rem;color:var(--slate);line-height:1.7;font-weight:300;flex:1}
.doc-foot{display:flex;justify-content:space-between;align-items:center;font-size:.7rem;color:var(--slate-light);padding-top:.6rem;border-top:1px solid var(--border)}
.doc-foot a{color:var(--teal);text-decoration:none;font-weight:600}
.doc-foot a:hover{text-decoration:underline}

/* ── FAQ / Q&A ── */
.faq{max-width:780px;margin:0 auto}
.faq details{background:var(--bg-white);border:1px solid var(--border);border-radius:10px;padding:1rem 1.25rem;margin-bottom:.75rem;transition:border-color .2s}
.faq details[open]{border-color:var(--border-teal)}
.faq summary{font-family:var(--fh);font-size:.92rem;font-weight:700;color:var(--navy);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--teal);font-size:1.3rem;font-weight:300;line-height:1;flex-shrink:0;transition:transform .2s}
.faq details[open] summary::after{content:'−'}
.faq details > p,.faq details > div{margin-top:.85rem;font-size:.83rem;color:var(--slate);line-height:1.8;font-weight:300}

/* ── CTA ── */
.cta-wrap{
  background-color:var(--navy);
  background-image:radial-gradient(circle,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:24px 24px;
  padding:2.5rem 2rem;
}
.cta-inner{max-width:680px;margin:0 auto;text-align:center}
.cta-badge{display:inline-flex;align-items:center;gap:7px;font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:.32rem .85rem;border-radius:100px;margin-bottom:1rem}
.cta-title{font-family:var(--fh);font-size:clamp(1.5rem,2.3vw,2rem);font-weight:700;line-height:1.25;color:#fff;margin-bottom:.75rem;letter-spacing:-.015em}
.cta-sub{font-size:.83rem;color:rgba(255,255,255,.5);margin-bottom:1.5rem;line-height:1.75;font-weight:300}
.cta-btns{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}

/* ── FOOTER ── */
footer{background:var(--bg-white);border-top:1px solid var(--border);padding:1.1rem 2rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem}
.f-copy{font-size:.68rem;color:var(--slate-light)}
.f-links{display:flex;gap:1.25rem;list-style:none}
.f-links a{font-size:.68rem;color:var(--slate-light);text-decoration:none;transition:color .15s}
.f-links a:hover{color:var(--navy)}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .n-links{gap:.9rem}
  .n-links a{font-size:.65rem}
}
@media(max-width:768px){
  nav{padding:0 1rem;height:64px}
  .n-logo img{height:44px}

  /* Hamburger button visible */
  .n-toggle{display:flex}

  /* Nav links become a full-width drawer dropping down from the nav */
  .n-links{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--bg-white);
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 16px rgba(13,27,46,.06);
    padding:.4rem 0;margin:0;
    max-height:calc(100vh - 64px);overflow-y:auto;
  }
  .n-links.is-open{display:flex}
  .n-links li{width:100%}
  .n-links a{
    display:block;
    padding:.95rem 1.25rem;
    font-size:.78rem;letter-spacing:.08em;
    border-bottom:1px solid #f1f3f6;
  }
  .n-links li:last-child a{border-bottom:none}

  .n-cta{margin-left:.5rem}

  .hero{grid-template-columns:1fr;gap:1.5rem;padding:2rem 1rem}
  .photo-inner{grid-template-columns:1fr;padding:1.5rem 1rem}
  .trust-inner{justify-content:flex-start}
  section{padding:2rem 1rem}
  .page-header-inner{padding:2rem 1rem 1.5rem}
  .steps-grid{grid-template-columns:1fr 1fr}
  .use-grid{grid-template-columns:1fr}
  .cs-row{grid-template-columns:1fr;gap:1.25rem;padding:1.5rem 0}
  .cs-row.reverse .cs-media{order:0}
  .cs-row.reverse .cs-text{order:1}
  footer{padding:1rem;flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){
  .steps-grid{grid-template-columns:1fr}
}
