/* ABOUTME: Shared stylesheet for the lastlayover.com company site. */
/* ABOUTME: Defines the color tokens, layout primitives, and page furniture used by every page. */

:root {
  --ink: #16202E;
  --ink-soft: #55616F;
  --line: #E4E6E2;
  --bg: #FBFAF8;
  --surface: #FFFFFF;
  --navy: #1C3557;
  --navy-deep: #12233B;
  --sand: #B26B37;
  --radius: 18px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--sand); }

img { max-width: 100%; height: auto; }

h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 18px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 14px;
}

/* Header + nav */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { padding: 84px 0 64px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 22px; font-size: 20px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* App feature block */
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-head img { width: 54px; height: 54px; border-radius: 15px; display: block; }
.app-head .platforms { font-size: 14px; color: var(--ink-soft); margin: 2px 0 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
}
.feature-list strong { color: var(--ink); font-weight: 700; }

.shots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 24px 24px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots figure { margin: 0; flex: 0 0 auto; width: 232px; scroll-snap-align: center; }
.shots .phone {
  width: 232px;
  border-radius: 34px;
  background: var(--ink);
  padding: 8px;
  box-shadow: 0 22px 44px rgba(22, 32, 46, 0.22);
}
.shots .phone img { border-radius: 27px; display: block; }
.shots figcaption { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* Definition rows, used for company facts and contact details */
.facts { display: grid; gap: 0; margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 15px; }
.facts dd { margin: 0; color: var(--ink-soft); }

.band { background: var(--navy); color: #fff; }
.band h2 { color: #fff; }
.band p { color: #C9D4E2; }
.band a { color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 44px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .nav { gap: 14px; }
  .nav-links { gap: 18px; }
}
