/* =================================================================
   Expentrips landing website — sprint 0055
   Pure CSS, no external libraries, no build step.
   ================================================================= */

:root {
  --navy:        #0b1d3a;
  --navy-700:    #142a4a;
  --navy-800:    #0f2342;
  --cyan:        #01cdcf;
  --cyan-dark:   #00a8aa;
  --white:       #ffffff;
  --bg:          #f7f9fc;
  --tint:        #eef2f7;
  --border:      #e3e8ef;
  --muted:       #6b7280;
  --ink:         #0b1d3a;
  --shadow-sm:   0 1px 2px rgba(11, 29, 58, .06);
  --shadow-md:   0 8px 24px -8px rgba(11, 29, 58, .18);
  --shadow-lg:   0 24px 48px -16px rgba(11, 29, 58, .22);
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   20px;
  --content:     1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover { color: var(--navy-700); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px;
  transition: top .2s ease;
  z-index: 200;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================================================
   Buttons
================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-700); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--tint); }

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }

/* =================================================================
   Header / nav  (dark-navy menu band, matches the app shell)
================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }

.primary-nav {
  display: flex; align-items: center; gap: 28px;
}
.primary-nav-list {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.primary-nav-list a {
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, .82);
}
.primary-nav-list a:hover { color: #fff; }
.primary-nav-cta { display: flex; align-items: center; gap: 10px; }

/* Re-skin the two header buttons to work on the navy band. The
   shared .btn-primary / .btn-ghost rules stay navy-on-white so the
   hero + final CTA buttons are unaffected. */
.site-header .btn-primary {
  background: #fff;
  color: var(--navy);
}
.site-header .btn-primary:hover {
  background: rgba(255, 255, 255, .88);
  color: var(--navy);
}
.site-header .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }
.nav-toggle-bar {
  display: block; width: 18px; height: 2px;
  background: #fff; border-radius: 1px;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 14px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 20px 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .35);
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav-list {
    flex-direction: column; align-items: stretch; gap: 6px;
    width: 100%;
  }
  .primary-nav-list a {
    display: block; padding: 12px 8px; border-radius: 8px; font-size: 15px;
    color: rgba(255, 255, 255, .9);
  }
  .primary-nav-list a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
  }
  .primary-nav-cta {
    width: 100%; flex-direction: column-reverse; align-items: stretch;
    gap: 8px;
  }
  .primary-nav-cta .btn { width: 100%; }
}

/* =================================================================
   Section base
================================================================= */
.section {
  padding: 88px 0;
}
.section-tint { background: var(--bg); }
.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .9);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-header.center { text-align: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-dark);
}
.eyebrow-on-dark { color: var(--cyan); }
h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.on-dark { color: #fff; }
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-lead.on-dark { color: rgba(255, 255, 255, .78); }

/* =================================================================
   Hero
================================================================= */
.hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(1, 205, 207, .14), transparent 60%),
    radial-gradient(800px 600px at -10% 100%, rgba(11, 29, 58, .08), transparent 60%),
    var(--white);
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 3.4vw + 1rem, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.1rem;
  color: #41506a;
  max-width: 580px;
}
.hero-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-chips li {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--navy);
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Hero card stack — pure CSS, mock data only */
.hero-mockup {
  position: relative;
  min-height: 480px;
}
.mock {
  position: absolute;
  width: 92%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: grid; gap: 6px;
}
.mock-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px;
}
.mock-pill-ok   { background: #e6fbf3; color: #057a55; }
.mock-pill-warn { background: #fef5e1; color: #92400e; }
.mock-pill-info { background: rgba(1, 205, 207, .15); color: var(--cyan-dark); }
.mock-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.mock-line.subtle {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}
.mock-meta { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.mock-1 { top:  0;   right: 0;   transform: rotate( 2deg); }
.mock-2 { top: 88px;  right: 28px; }
.mock-3 { top: 176px; right: 0;   transform: rotate(-2deg); }
.mock-4 { top: 264px; right: 36px; }
.mock-5 { top: 352px; right: 8px;  transform: rotate( 1deg); }

@media (max-width: 960px) {
  .hero { padding: 56px 0 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-mockup {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 4px;
  }
  .mock {
    position: static; transform: none !important;
    width: 100%; max-width: none;
  }
}

/* =================================================================
   Product overview
================================================================= */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.overview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: #41506a;
  box-shadow: var(--shadow-sm);
}
.overview-card strong { color: var(--navy); }

/* =================================================================
   Feature grid
================================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 205, 207, .35);
}
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(1, 205, 207, .12);
  color: var(--navy);
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}
.feature-card p {
  margin: 0;
  color: #41506a;
  font-size: .95rem;
}

/* =================================================================
   Workflow
================================================================= */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: step;
}
.workflow li {
  display: flex; gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.step-no {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cyan);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.workflow strong { color: var(--navy); }
.workflow p { margin: 4px 0 0; color: #41506a; font-size: .92rem; }

/* =================================================================
   Roles
================================================================= */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.role-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}
.role-card p { margin: 0; color: #41506a; font-size: .95rem; }
.role-card-platform {
  background: linear-gradient(180deg, #fff 0%, rgba(1, 205, 207, .08) 100%);
  border-color: rgba(1, 205, 207, .35);
}

/* =================================================================
   Security (dark band)
================================================================= */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.security-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 22px;
  color: rgba(255, 255, 255, .85);
}
.security-card h3 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 1rem;
}
.security-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}

/* =================================================================
   Integrations
================================================================= */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.integration-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.integration-card h3 {
  margin: 0 0 6px; color: var(--navy); font-size: 1rem;
}
.integration-card p { margin: 0; color: #41506a; font-size: .95rem; }

/* =================================================================
   FAQ
================================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid; gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--muted);
  margin-left: 12px;
  transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 18px 18px;
  color: #41506a;
}
.faq-body p { margin: 0; }

/* =================================================================
   Final CTA
================================================================= */
.final-cta {
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(1, 205, 207, .12), transparent 60%),
    var(--bg);
}
.final-cta-inner h2 { margin-bottom: 8px; }
.final-cta-inner p { color: var(--muted); margin: 0 0 22px; }
.final-cta .hero-cta { justify-content: center; }

/* =================================================================
   Footer
================================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p {
  margin: 14px 0 0;
  font-size: .95rem;
  color: rgba(255, 255, 255, .7);
  max-width: 320px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-nav h4 {
  margin: 0 0 10px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-nav a {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* =================================================================
   Colourful polish — sprint 0055 follow-up
   Adds navy + cyan tints across sections and cards so the page is
   less monotone white. Kept as an additive block so the structural
   rules above stay untouched; remove this block to revert.
================================================================= */
:root {
  --cyan-50:  #ecfdfd;
  --cyan-100: #d2f7f7;
  --navy-50:  #f1f4f9;
  --navy-100: #e3eaf3;
}

/* --- Section backgrounds: alternate cyan, grey, navy ----------- */
.section {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(1, 205, 207, .07), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(11, 29, 58, .04), transparent 60%),
    var(--cyan-50);
}
.section-tint {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(11, 29, 58, .06), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(1, 205, 207, .06), transparent 60%),
    var(--bg);
}
.section-dark {
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(1, 205, 207, .18), transparent 55%),
    radial-gradient(700px 400px at 100% 100%, rgba(1, 205, 207, .10), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
}
.final-cta {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(1, 205, 207, .18), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(11, 29, 58, .06), transparent 60%),
    var(--cyan-50);
}

/* --- Overview cards: alternating cyan / navy accent strips ----- */
.overview-card {
  background: linear-gradient(180deg, #fff 0%, var(--cyan-50) 140%);
  border-left: 4px solid var(--cyan);
}
.overview-card:nth-child(even) {
  background: linear-gradient(180deg, #fff 0%, var(--navy-50) 140%);
  border-left-color: var(--navy);
}

/* --- Feature cards: rotating top accent + icon tile tones ------ */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cyan);
}
.feature-card:nth-child(3n+2)::before { background: var(--navy); }
.feature-card:nth-child(3n+3)::before {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
}
.feature-card:nth-child(3n+2) .feature-icon {
  background: rgba(11, 29, 58, .08);
}
.feature-card:nth-child(3n+3) .feature-icon {
  background: linear-gradient(135deg, rgba(1, 205, 207, .22), rgba(11, 29, 58, .12));
}

/* --- Workflow steps: tinted card + glowing number ring --------- */
.workflow li {
  background: linear-gradient(180deg, #fff 0%, var(--cyan-50) 140%);
  border-color: rgba(1, 205, 207, .28);
}
.workflow li:nth-child(even) {
  background: linear-gradient(180deg, #fff 0%, var(--navy-50) 140%);
  border-color: rgba(11, 29, 58, .15);
}
.step-no { box-shadow: 0 0 0 4px rgba(1, 205, 207, .18); }

/* --- Role cards: cyan / navy top accents ----------------------- */
.role-card { position: relative; overflow: hidden; }
.role-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cyan);
}
.role-card:nth-child(even)::before { background: var(--navy); }
.role-card-platform::before {
  height: 5px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
}

/* --- Integration cards: navy / cyan top accents ---------------- */
.integration-card { position: relative; overflow: hidden; }
.integration-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
}
.integration-card:nth-child(even)::before { background: var(--cyan); }

/* --- FAQ: cyan tint when open + cyan "+" symbol ---------------- */
.faq-item summary::after { color: var(--cyan-dark); font-weight: 700; }
.faq-item[open] {
  background: var(--cyan-50);
  border-color: rgba(1, 205, 207, .35);
}

/* --- Hero chips: alternating cyan / navy tints ----------------- */
.hero-chips li {
  background: rgba(1, 205, 207, .12);
  border-color: rgba(1, 205, 207, .35);
  color: var(--navy);
}
.hero-chips li:nth-child(even) {
  background: rgba(11, 29, 58, .07);
  border-color: rgba(11, 29, 58, .18);
}

/* --- Hero copy: thin gradient bar on the left ------------------ */
.hero-copy { position: relative; padding-left: 18px; }
.hero-copy::before {
  content: "";
  position: absolute; top: 8px; bottom: 8px; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--navy) 100%);
  border-radius: 2px;
}
@media (max-width: 960px) {
  .hero-copy { padding-left: 0; }
  .hero-copy::before { display: none; }
}
