/* Gas Station — marketing site. Brand mirrors the product (teal / IBM Plex Sans / radius 0.625rem). */
:root {
  --teal: oklch(0.52 0.10 186);
  --teal-deep: oklch(0.43 0.09 186);
  --teal-700: oklch(0.47 0.10 186);
  --mint: oklch(0.96 0.025 186);
  --mint-line: oklch(0.90 0.04 186);
  --accent: oklch(0.80 0.12 72);

  --ink: oklch(0.21 0.01 286);
  --ink-soft: oklch(0.37 0.01 286);
  --muted: oklch(0.55 0.012 286);
  --bg: oklch(0.99 0.002 286);
  --soft: oklch(0.975 0.004 286);
  --surface: #ffffff;
  --line: oklch(0.91 0.005 286);
  --ink-deep: oklch(0.17 0.01 286);

  --wrap: 1180px;
  --gutter: 24px;
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --pad: 60px;
  --r: 0.625rem; --r-sm: 0.45rem; --r-lg: 1rem; --r-pill: 999px;
  --shadow: 0 24px 60px -36px oklch(0.4 0.05 286 / .45);
  --shadow-sm: 0 8px 24px -16px oklch(0.4 0.05 286 / .4);

  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

/* reveal-on-scroll (only enabled by JS when motion is allowed; no-JS = always visible) */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); }
html.reveal-on [data-reveal].in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
body { font-family: var(--f-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; animation: page-in .34s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease; }

/* top route-loading bar (navigation between pages) */
.route-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--teal), var(--accent)); box-shadow: 0 0 10px oklch(0.52 0.10 186 / .6);
  opacity: 0; transition: width .25s ease, opacity .3s ease; }
.route-bar.go { width: 92%; opacity: 1; }
.route-bar.done { width: 100%; opacity: 0; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: var(--s2); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); }
.center { text-align: center; }
.sec-head { max-width: 640px; margin: 0 auto var(--s6); }
.sec-head.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* sample / placeholder marker */
.sample { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: oklch(0.80 0.12 72 / .14); border-radius: var(--r-pill); padding: 3px 8px; vertical-align: middle; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); font-family: var(--f-body); font-weight: 600; font-size: .95rem; min-height: 44px; padding: 12px 24px; border-radius: var(--r); cursor: pointer; border: 1.5px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-deep); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--teal); }
.btn-lg { min-height: 52px; padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: oklch(0.99 0.002 286 / .85); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header[data-scrolled] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; gap: var(--s4); height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(140deg, var(--teal), var(--teal-deep)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; }
.nav { display: flex; gap: var(--s5); margin-left: auto; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--teal); }
.header-cta { display: flex; gap: var(--s2); align-items: center; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto; min-height: 44px; }
.burger span { width: 24px; height: 2px; background: var(--ink); }
.mobnav { display: none; flex-direction: column; gap: var(--s3); padding: var(--s4) var(--gutter) var(--s5); }
.mobnav a { font-size: 1.06rem; font-weight: 500; color: var(--ink); }

/* screenshot placeholder */
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.shot img { width: 100%; height: auto; display: block; }
.shot-ph { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2); text-align: center; padding: var(--s5); border: 1.5px dashed var(--mint-line); border-radius: var(--r-lg); background: repeating-linear-gradient(45deg, var(--mint) 0 12px, var(--surface) 12px 24px); color: var(--teal-deep); }
.shot-ph .ph-icon { font-size: 1.6rem; }
.shot-ph .ph-title { font-weight: 700; color: var(--ink); }
.shot-ph .ph-file { font-family: var(--f-mono); font-size: .8rem; color: var(--teal-deep); background: var(--surface); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--mint-line); }
.shot-ph .ph-desc { font-size: .88rem; color: var(--muted); max-width: 420px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s7); background: linear-gradient(180deg, var(--mint), var(--bg) 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s7); align-items: center; }
.hero-copy h1 span { color: var(--teal); }
.hero-copy .lead { margin: var(--s4) 0 var(--s5); max-width: 520px; }
.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.hero-trust { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: .88rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.tick { color: var(--teal); font-weight: 700; }

/* stat strip */
.stats { background: var(--ink-deep); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); padding: var(--s6) var(--gutter); text-align: center; }
.stat-n { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: #fff; }
.stat-l { font-size: .82rem; color: oklch(0.85 0.02 286); margin-top: 2px; }

/* section */
.sec { padding: var(--pad) 0; }
.sec.soft { background: var(--soft); }

/* roles */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3); box-shadow: var(--shadow-sm); overflow: hidden; }
.role img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--r-lg) - 6px); margin-bottom: var(--s4); }
.role .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--mint); color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; margin-bottom: var(--s3); }
.role h3 { margin-bottom: 6px; }
.role p { font-size: .92rem; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; padding: var(--s6) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip .feature-media { order: -1; }
.feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature .lead { margin: var(--s3) 0 var(--s4); font-size: 1.05rem; }
.feature ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.feature li { font-size: .95rem; color: var(--ink-soft); padding-left: 26px; position: relative; }
.feature li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* condensed feature grid (landing) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.feat-card { display: flex; flex-direction: column; gap: var(--s2); }
.feat-card .shot { box-shadow: var(--shadow-sm); }
.feat-card h3 { color: var(--ink); margin-top: var(--s1); }
.feat-card p { font-size: .92rem; }

/* logos / integrations */
.logos { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.logo-chip { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px; }

/* stations gallery */
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }

/* testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1rem; color: var(--ink); }
.quote .who { margin-top: var(--s3); font-size: .85rem; color: var(--muted); }
.quote .who strong { color: var(--ink); display: block; font-size: .92rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s3); box-shadow: var(--shadow-sm); }
.tier-feat { border-color: var(--teal); box-shadow: var(--shadow); position: relative; }
.tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill); }
.tier h3 { font-size: 1.25rem; }
.tier .price { font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.tier .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.tier .price-sub { font-size: .85rem; color: var(--muted); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s2); }
.tier li { font-size: .92rem; color: var(--ink-soft); padding-left: 24px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.tier .btn { margin-top: auto; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: center; font-size: .92rem; }
.compare th:first-child, .compare td:first-child { text-align: left; width: 40%; }
.compare thead th { background: var(--soft); color: var(--ink); font-weight: 600; }
.compare td.c { color: var(--teal); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s2); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) var(--s4); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin-top: var(--s2); font-size: .94rem; }

/* CTA band */
.cta-band { background: linear-gradient(140deg, var(--teal), var(--teal-deep)); color: #fff; border-radius: var(--r-lg); padding: var(--s7) var(--s5); text-align: center; }
.cta-band h2 { color: #fff; max-width: 620px; margin: 0 auto var(--s3); }
.cta-band p { color: oklch(0.95 0.03 186); max-width: 540px; margin: 0 auto var(--s5); }
.cta-band .btn-solid { background: #fff; color: var(--teal-deep); }
.cta-band .btn-solid:hover { background: var(--mint); }
.cta-band .btn-line { border-color: oklch(1 0 0 / .5); color: #fff; background: transparent; }
.cta-band .btn-line:hover { background: oklch(1 0 0 / .12); }

/* form */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.demo-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--s3); }
.demo-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.demo-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.demo-form input, .demo-form select, .demo-form textarea { font-family: var(--f-body); font-size: 1rem; color: var(--ink); min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; background: var(--bg); }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--teal); }
.demo-form .ok { display: none; color: var(--teal-deep); font-weight: 600; font-size: .92rem; text-align: center; background: var(--mint); border-radius: var(--r-sm); padding: var(--s3); }
.demo-form .ok.show { display: block; }
.demo-aside li { list-style: none; padding-left: 26px; position: relative; margin-bottom: var(--s3); color: var(--ink-soft); }
.demo-aside li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.demo-contact { margin-top: var(--s5); font-size: .92rem; color: var(--muted); }
.demo-contact a { color: var(--teal); font-weight: 600; }

/* footer */
.site-foot { background: var(--ink-deep); color: oklch(0.9 0.01 286); margin-top: var(--s8); }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s5); padding: var(--s7) var(--gutter) var(--s6); }
.foot-brand .brand { color: #fff; }
.foot-brand p { color: oklch(0.75 0.01 286); font-size: .9rem; margin-top: var(--s3); max-width: 280px; }
.foot-col h4 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s3); }
.foot-col { display: flex; flex-direction: column; gap: var(--s2); }
.foot-col a { color: oklch(0.8 0.01 286); font-size: .92rem; }
.foot-col a:hover { color: #fff; }
.foot-legal { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding: var(--s4) var(--gutter); border-top: 1px solid oklch(1 0 0 / .1); font-size: .82rem; color: oklch(0.7 0.01 286); }

/* responsive */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .site-header[data-open] .mobnav { display: flex; }
  .hero-in, .feature, .form-wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .feature.flip .feature-media { order: 0; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid, .price-grid { grid-template-columns: 1fr; }
  .station-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s3); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  :root { --gutter: 18px; --pad: 44px; }
  .role-grid, .station-grid, .feature-grid { grid-template-columns: 1fr; }
  .demo-form .row { grid-template-columns: 1fr; }
  .foot-cols, .foot-legal { grid-template-columns: 1fr; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  * { transition: none !important; }
}
