/* Landing page (/): "Landing · 06+" in docs/design/L-landing.png. Built on tokens.css and the world's panel styles. */
body.landing { overflow: auto; overflow-x: hidden; height: auto; }
.landing a { color: inherit; }
.landing h1, .landing h2, .landing h3, .landing p { margin: 0; }

/* buttons on photos and the ink band */
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: var(--r-control);
  font-size: 15px; font-weight: 500; text-decoration: none; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.l-btn:active { transform: scale(0.98); }
.l-btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.l-btn-paper { background: var(--paper); color: var(--ink) !important; }
.l-btn-paper:hover { background: var(--white); }
.l-btn-ghost { border: 1px solid rgba(238, 241, 236, 0.55); color: var(--paper) !important; }
.l-btn-ghost:hover { background: rgba(238, 241, 236, 0.08); }

/* nav over the hero */
.l-nav {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 80px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; color: var(--paper);
}
.l-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: var(--track-logo); text-decoration: none; }
.l-links { display: flex; gap: 32px; font-size: 15px; }
.l-links a, .l-signin { text-decoration: none; color: var(--paper-70) !important; transition: color var(--t-fast) var(--ease); }
.l-links a:hover, .l-signin:hover { color: var(--paper) !important; }
.l-nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 15px; }

/* 1 · hero */
.l-hero { position: relative; height: 900px; background: var(--sky-navy); color: var(--paper); overflow: hidden; }
.l-hero-photo { position: absolute; inset: 0 auto 0 0; width: 870px; }
.l-hero-photo .photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 260px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 260px), transparent);
}
/* no photo (production until licensed photos land): the hero keeps its navy sky */
.l-hero-photo .photo.is-missing { visibility: hidden; }
.l-hero-copy { position: absolute; left: 860px; top: 196px; width: 520px; }
.l-hero-copy h1 { font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -0.03em; }
.l-hero-copy p { margin-top: 28px; max-width: 30em; font-size: 18px; line-height: 1.5; color: var(--paper-70); }
.l-hero-actions { display: flex; gap: 12px; margin-top: 28px; }

/* the world preview rising from the hero's bottom edge */
.l-preview-wrap { position: relative; z-index: 2; height: 600px; }
.l-preview {
  position: absolute; left: 50%; top: -130px; width: 1117px; transform: translateX(-50%);
  display: block; overflow: hidden; border-radius: 14px; background: var(--paper); box-shadow: 0 30px 80px rgba(18, 19, 16, 0.22);
  text-decoration: none; transition: transform 300ms var(--ease);
}
.l-preview:hover { transform: translateX(-50%) translateY(-4px); }
.l-chrome { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: var(--white); border-bottom: 1px solid var(--hairline-soft); }
.l-chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-2); }
.l-chrome .mono { margin: 0 auto; padding-right: 40px; font-size: 10px; color: var(--ink-3); }
.l-preview-map { position: relative; display: block; height: 614px; background: var(--paper); }
.l-preview-map > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.l-preview-card {
  position: absolute; left: 584px; top: 80px; width: 262px; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: var(--shadow);
}
.l-preview-card .photo { width: 100%; height: 150px; object-fit: cover; }
.l-preview-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.l-preview-card-body .mono { font-size: 9px; color: var(--ink-3); white-space: pre; }
.l-preview-card-body strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.l-preview-card-body span:last-child { font-size: 12px; color: var(--ink-2); }

/* sections */
.l-section { width: 1200px; margin: 0 auto; }
.l-h2 { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 1.02; letter-spacing: -0.03em; }
.l-lede { margin-top: 24px !important; max-width: 34em; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* 2 · how it works */
.l-how { display: grid; grid-template-columns: 1fr 600px; gap: 100px; padding-bottom: 150px; }
.l-steps { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.l-steps li { display: grid; grid-template-columns: 48px 1fr; padding: 24px 0 26px; border-bottom: 1px solid var(--hairline); }
.l-steps .mono { padding-top: 4px; font-size: 12px; color: var(--ink-3); }
.l-steps h3 { font-size: 19px; font-weight: 600; }
.l-steps p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* 3 · places */
.l-places { padding-bottom: 110px; }
.l-places-head { display: flex; justify-content: space-between; align-items: flex-start; }
.l-places-head > div { width: 380px; padding-top: 6px; }
.l-places-head p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.l-link { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 4px; }
.l-link:hover { text-decoration-color: currentColor; }
.l-feature { display: grid; grid-template-columns: 720px 1fr; gap: 20px; margin-top: 56px; }
.l-feature-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.l-card { position: relative; display: block; overflow: hidden; border-radius: var(--r-card); background: var(--ice-dust); color: var(--white) !important; text-decoration: none; }
.l-card.is-large { height: 640px; }
.l-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.l-card:hover .l-card-img { transform: scale(1.02); }
.l-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(18, 19, 16, 0), rgba(18, 19, 16, 0.6)); }
.l-card-copy { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.l-card-copy .mono { font-size: 12px; color: rgba(255, 255, 255, 0.8); white-space: pre; }
.l-card-copy strong { font-weight: 600; font-size: 24px; line-height: 1.15; }
.l-card.is-large .l-card-copy strong { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: -0.02em; }
.l-card-copy span:last-child { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.l-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; }
.l-strip a { display: flex; flex-direction: column; text-decoration: none; }
.l-strip-img { width: 100%; height: 200px; border-radius: 10px; object-fit: cover; }
.l-strip strong { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.35; }
.l-strip span { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.l-strip a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* 4 · ink band */
.l-band { background: var(--ink); color: var(--paper); overflow: hidden; }
.l-band-inner { display: grid; grid-template-columns: 420px 1fr; gap: 80px; width: 1320px; margin: 0 auto; padding: 140px 0 170px 60px; }
.l-band .l-h2 { color: var(--paper); }
.l-band-list { margin: 40px 0 0; padding: 0; list-style: none; }
.l-band-list li { padding: 18px 0; border-top: 1px solid rgba(238, 241, 236, 0.14); }
.l-band-list h3 { font-size: 17px; font-weight: 600; }
.l-band-list p { margin-top: 6px; font-size: 14px; color: rgba(238, 241, 236, 0.62); }
.l-panel-preview { position: relative; height: 500px; padding-top: 60px; }
.l-panel-scale { width: 1376px; height: 788px; transform: scale(0.56); transform-origin: top left; }
.l-static-panel { position: relative; inset: auto; left: 0; top: 0; width: 1376px; height: 788px; transform: none; pointer-events: none; color: var(--ink); }
.l-static-panel .qp-thumbs span { overflow: hidden; border-radius: 8px; }
.l-static-panel .qp-close { font-size: 22px; line-height: 40px; text-align: center; }
.l-static-panel .qp-scroll { overflow: hidden; }

/* 5 · CTA over the photo */
.l-cta { position: relative; height: 680px; overflow: hidden; background: var(--ink-deep); color: var(--paper); }
.l-cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.l-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(14, 22, 30, 0.55), rgba(14, 22, 30, 0.1)); }
.l-cta-copy { position: relative; z-index: 2; width: 1200px; margin: 0 auto; padding-top: 160px; }
.l-cta .l-h2 { max-width: 9em; color: var(--paper); }
.l-cta p { margin-top: 24px; max-width: 30em; font-size: 18px; line-height: 1.5; color: rgba(238, 241, 236, 0.85); }
.l-cta .l-btn { margin-top: 28px; }

/* 6 · footer */
.l-footer { background: var(--ink-deep); color: var(--paper); }
.l-footer-top { display: flex; justify-content: space-between; width: 1200px; margin: 0 auto; padding: 80px 0 50px; }
.l-footer-top p { margin-top: 12px; font-size: 15px; color: rgba(238, 241, 236, 0.62); }
.l-footer-cols { display: grid; grid-template-columns: repeat(3, 180px); }
.l-footer-cols h3 { margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.l-footer-cols a, .l-footer-cols span { display: block; margin-top: 10px; font-size: 14px; color: rgba(238, 241, 236, 0.62); text-decoration: none; }
.l-footer-cols a:hover { color: var(--paper); }
.l-footer-bottom {
  display: flex; justify-content: space-between; width: 1200px; margin: 0 auto; padding: 22px 0 36px;
  border-top: 1px solid rgba(238, 241, 236, 0.12); font-size: 12px; color: rgba(238, 241, 236, 0.52);
}

/* "Open the world" zoom */
.l-zoom {
  position: fixed; z-index: 20; left: 0; top: 0; width: 100vw; height: 100vh; background: var(--paper) center / cover no-repeat;
  transform-origin: 0 0; opacity: 0; pointer-events: none; visibility: hidden;
}
.l-zoom.is-on { visibility: visible; }
.l-zoom.is-go { transition: transform 600ms var(--ease), opacity 200ms var(--ease); }

/* narrower desktops: let the fixed widths give */
@media (max-width: 1280px) {
  .l-section, .l-cta-copy, .l-footer-top, .l-footer-bottom { width: auto; margin: 0 48px; }
  .l-hero-copy { left: auto; right: 48px; width: 460px; }
  .l-hero-copy h1 { font-size: 64px; }
  .l-preview { width: calc(100vw - 96px); }
  .l-band-inner { width: auto; padding-left: 48px; grid-template-columns: 360px 1fr; gap: 48px; }
  .l-feature { grid-template-columns: 1.6fr 1fr; }
  .l-how { grid-template-columns: 1fr 1fr; gap: 64px; }
}
@media (max-width: 1023px) {
  .l-links { display: none; }
  .l-hero-photo { width: 100%; opacity: 0.45; }
  .l-hero-copy { left: 32px; right: 32px; width: auto; }
  .l-how, .l-feature, .l-band-inner { grid-template-columns: 1fr; }
  .l-strip { grid-template-columns: repeat(2, 1fr); }
  .l-panel-preview { display: none; }
  .l-footer-top { flex-direction: column; gap: 40px; }
}
