/* Elyra Logistics public site: shared layout. Brand: charcoal, gold, warm cream, Lato. */
:root {
  --ink: #262626; --ink-2: #55514A; --muted: #6E695F; --cream: #FBFAF7; --sand: #F4EEE1; --line: #E6DCC6;
  --gold: #B5A27A; --gold-ink: #75613A; --dark: #262626; --dark-2: #353535; --on-dark: #F4F0E8; --on-dark-2: #D9D3C7;
  --ok: #1f7a4d; --ok-bg: #e3f4ea; --bad: #b42318; --bad-bg: #fde8e6;
  --r: 18px; --shadow: 0 1px 2px rgba(38,38,38,.04), 0 12px 32px rgba(38,38,38,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 Lato, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.in { width: min(1200px, 100% - 40px); margin: 0 auto; }
.ic { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--on-dark); border: 2px solid var(--ink);
  border-radius: 999px; padding: 9px 20px; font: 700 15px/1.2 Lato, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sand); }
.btn.big { padding: 14px 28px; font-size: 16px; }
.btn.block { width: 100%; }
button.link { background: none; border: 0; color: var(--gold-ink); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 10px; }

/* Top bar + nav */
.topbar { background: var(--dark); color: var(--on-dark-2); font-size: 13px; letter-spacing: .04em; }
.topbar .in { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { width: 14px; height: 14px; color: var(--gold); }
.topbar .sep { color: var(--gold); }
@media (max-width: 640px) { .hide-s { display: none !important; } .topbar .in { gap: 8px; font-size: 12px; } .topbar span { white-space: nowrap; } }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .18em; color: var(--ink); text-decoration: none; font-size: 18px; white-space: nowrap; }
.logo b { color: var(--gold-ink); }
.logo img { height: 36px; width: auto; display: block; }
.nav .links { display: flex; gap: 28px; margin-left: auto; }
.nav .links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; padding: 6px 0; }
.nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav .links a:hover { color: var(--ink); }
.nav .links a:hover::after { transform: scaleX(1); }
.nav .cta { display: flex; gap: 10px; }
@media (max-width: 960px) { .nav .in { flex-wrap: wrap; row-gap: 0; } .nav .cta { margin-left: auto; }
  .nav .links { order: 3; width: 100%; margin: 0; gap: 22px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; } .nav .links::-webkit-scrollbar { display: none; } .nav .links a { white-space: nowrap; font-size: 14px; } }
@media (max-width: 560px) { .logo { font-size: 14px; letter-spacing: .12em; gap: 8px; } .logo img { height: 28px; } .nav .in { gap: 12px; } .nav .btn { padding: 8px 14px; } }
@media (max-width: 480px) { .nav .cta .btn:not(.ghost) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero .glow { position: absolute; inset: 0; pointer-events: none; }
.hero .in { position: relative; display: grid; grid-template-columns: 1.2fr .85fr; gap: 64px; align-items: center; }
.hero-logo { width: 120px; height: auto; display: block; margin-bottom: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(181,162,122,.25); }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); font-weight: 900; letter-spacing: -.02em; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 20px; margin: 22px 0 32px; max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }
.chips .ic { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 900px) { .hero .in { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 56px 0 64px; } .hero-logo { width: 96px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .copy > *:nth-child(2) { animation-delay: .05s; } .hero .copy > *:nth-child(3) { animation-delay: .1s; }
  .hero .copy > *:nth-child(4) { animation-delay: .15s; } .hero .copy > *:nth-child(5) { animation-delay: .2s; } .hero .copy > *:nth-child(6) { animation-delay: .25s; }
  .hero .login { animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; }
  @supports (animation-timeline: view()) {
    .block .head, .cards article, .steps li, .price article, .fit li, .facts .in > div { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Cards and forms */
.card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.login h2 { font-size: 26px; font-weight: 900; }
.sub { color: var(--muted); margin-top: 6px; }
.small { font-size: 14px; margin-top: 18px; line-height: 1.7; }
.stack { display: grid; gap: 14px; margin-top: 20px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
input, select, textarea { font: 16px/1.4 Lato, sans-serif; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; border-color: var(--gold-ink); background: #fff; box-shadow: 0 0 0 4px rgba(181,162,122,.22); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.flash { border-radius: 10px; padding: 10px 12px; margin-top: 14px; font-size: 15px; }
.flash.err { background: var(--bad-bg); color: var(--bad); }
.flash.ok { background: var(--ok-bg); color: var(--ok); }

/* Facts */
.facts .in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; }
.facts .in > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.facts .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--gold-ink); margin-top: 4px; }
.facts b { font-size: 26px; font-weight: 900; line-height: 1.15; }
.facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .facts .in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts .in { grid-template-columns: 1fr; } }

/* Sections */
.block { padding: 112px 0; }
.block.alt { background: var(--sand); }
.block.dark { background: var(--dark); color: var(--on-dark); }
.block.dark .eyebrow { color: var(--gold); }
.block h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.015em; margin-bottom: 16px; }
.head { max-width: 760px; }
.head.center { margin: 0 auto; text-align: center; }
.head.center .intro { margin: 0 auto; }
.intro { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.dark .intro { color: var(--on-dark-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split .btn.big { margin-top: 28px; }
.sticky { position: sticky; top: 112px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .sticky { position: static; } .block { padding: 80px 0; } }

.grid3, .grid4 { display: grid; gap: 20px; margin-top: 56px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.cards article { position: relative; border-radius: var(--r); padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cards .ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px; }
.cards .ico .ic { width: 26px; height: 26px; }
.cards h3, .steps h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.cards p, .steps p { color: var(--ink-2); }

/* Fit list */
.fit { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fit a { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.35;
  padding: 24px 26px; border-radius: var(--r); transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.fit .ic { width: 22px; height: 22px; color: var(--gold-ink); transition: transform .2s; }
.fit a:hover .ic { transform: translateX(4px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { font-size: 40px; font-weight: 900; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }

/* Portal */
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); font-size: 18px; }
.checks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); stroke-width: 2.6; margin-top: 1px; }
.mock { padding: 0 0 22px; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 14px 18px; background: var(--sand); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:first-child { background: var(--gold); }
.mock-h, .mock table, .mock-f { margin-left: 24px; margin-right: 24px; }
.mock table { width: calc(100% - 48px); }
.mock-h { font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-h span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--sand); border-radius: 999px; padding: 3px 10px; }
.mock table { border-collapse: collapse; font-size: 15px; }
.mock th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mock td { padding: 11px 6px; border-bottom: 1px solid #f0ebe0; font-variant-numeric: tabular-nums; }
.mock td:not(:first-child), .mock th:not(:first-child) { text-align: right; }
.mock-f { margin-top: 16px; font-size: 14px; color: var(--gold-ink); font-weight: 700; }

/* Pricing */
.price article { border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; }
.price article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price article.dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.price .tag { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.price .dark .tag { color: var(--gold); }
.price h3 { font-size: 21px; font-weight: 900; }
.price .amt { font-size: 42px; font-weight: 900; line-height: 1.1; margin: 8px 0 8px; letter-spacing: -.02em; }
.price .amt small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price .dark .amt { color: var(--gold); }
.price p:last-child { color: var(--ink-2); font-size: 15px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price .dark p:last-child { color: var(--on-dark-2); border-color: #444; }
.fine { margin: 28px auto 0; color: var(--muted); font-size: 15px; text-align: center; max-width: 52em; }

/* FAQ */
.qa details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.qa details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 900; font-size: 19px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-ink); font-size: 20px; line-height: 1; transition: transform .25s, background .2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--ink); border-color: var(--gold); }
details p { margin-top: 12px; color: var(--ink-2); max-width: 40em; }

/* Quote / closing */
.contact { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; font-weight: 700; }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact .ic { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--dark-2); color: var(--gold); }
.closing .card h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }

/* Footer */
.foot { background: #1d1d1d; color: var(--on-dark-2); padding: 72px 0 36px; font-size: 15px; }
.fcols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #333; }
.fcols > div { display: grid; gap: 10px; align-content: start; }
.fcols h4 { color: var(--on-dark); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.fcols a { color: var(--on-dark-2); text-decoration: none; }
.fcols a:hover { color: var(--gold); }
.fbrand p { max-width: 22em; margin-top: 6px; }
.foot .logo { color: var(--on-dark); }
.foot .logo b { color: var(--gold); }
.foot .small { color: #9a9488; margin-top: 24px; }
@media (max-width: 900px) { .fcols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

/* Accessibility */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.dark a:focus-visible, .dark button:focus-visible, .hero a:focus-visible, .hero button:focus-visible, .foot a:focus-visible { outline-color: var(--gold); }
.card a:focus-visible, .card button:focus-visible { outline-color: var(--gold-ink); } /* white cards inside dark sections */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Version 1 · Charcoal & Gold: dark hero with a soft gold glow, clean white cards, structured sections. */
.v1 .hero { background: var(--dark); color: var(--on-dark); }
.v1 .hero .glow { background:
  radial-gradient(600px 400px at 85% 20%, rgba(181,162,122,.22), transparent 70%),
  radial-gradient(500px 360px at 10% 110%, rgba(181,162,122,.14), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px; }
.v1 .hero::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.v1 .hero .eyebrow { color: var(--gold); }
.v1 .hero .lead { color: var(--on-dark-2); }
.v1 .hero .btn:not(.ghost), .v1 .dark .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.v1 .hero .btn:not(.ghost):hover, .v1 .dark .btn:hover { background: #c7b48c; border-color: #c7b48c; box-shadow: 0 10px 28px rgba(181,162,122,.35); }
.v1 .hero .btn.ghost { color: var(--on-dark); border-color: #5a5650; }
.v1 .hero .btn.ghost:hover { background: var(--dark-2); }
.v1 .chips li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--on-dark); }

.v1 .facts { background: var(--sand); border-bottom: 1px solid var(--line); }
.v1 .cards article { background: #fff; border: 1px solid var(--line); }
.v1 .cards article::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.v1 .cards article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v1 .cards article:hover::before { transform: scaleX(1); }
.v1 .cards .ico { background: var(--sand); color: var(--gold-ink); }

.v1 .fit a { background: #fff; border: 1px solid var(--line); }
.v1 .fit a:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.v1 .closing { background: linear-gradient(160deg, var(--dark) 55%, #3a352c); }
