/*
 * The other pages (a friend's let-out page, privacy, the Kushu object): the
 * home page's look (home.css) with a short band of the scene at the top,
 * fading into the dark, and plain text under it. No boxes, no glass.
 */

.band {
  position: relative;
  height: clamp(200px, 34vh, 360px);
  background: url('img/scene-car-field.webp') center 55% / cover no-repeat;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.4) 0%, rgba(14, 12, 11, 0) 35%, rgba(14, 12, 11, 0.55) 70%, var(--ink) 100%);
}
.band .nav { position: relative; z-index: 2; }
.nav-download { color: var(--soft); text-decoration: none; }

.page {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: clamp(-96px, -10vh, -48px) auto 0;
  padding: 0 clamp(16px, 4vw, 48px) clamp(72px, 12vh, 128px);
}
.page h1 { margin: 10px 0 18px; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.page h2 { margin: 44px 0 10px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.page p, .page li { color: var(--soft); font-size: 16px; line-height: 1.65; }
.page p { margin: 0 0 14px; }
.page ul, .page ol { padding-left: 20px; margin: 0 0 14px; }
.page li { margin-bottom: 8px; }
.page strong { color: var(--text); font-weight: 600; }
.page a { color: var(--text); }
.page a.button { color: var(--ink); }
.legal-updated { font-size: 13px !important; }
.legal-lede { color: var(--text) !important; font-size: 18px !important; }

/* A friend's let-out page: steps separated by thin rules; fields to type in. */
.unlock { max-width: 520px; display: flex; flex-direction: column; gap: 20px; }
.unlock h1 { margin-bottom: 0; }
.unlock p { margin: 0; }
.card { border-top: 1px solid var(--faint); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.unlock label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.unlock input {
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(246, 241, 234, 0.28);
  background: rgba(246, 241, 234, 0.06);
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}
.unlock input:focus { outline: none; border-color: var(--text); }
.unlock .row { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock .row .button { flex: 1 1 auto; }
button.button { border: 0; cursor: pointer; font-family: inherit; }
.button.light { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(246, 241, 234, 0.4); }
.button.light:hover { background: rgba(246, 241, 234, 0.08); }
.asker { color: var(--text); font-weight: 600; }
.problem { color: var(--text) !important; background: rgba(110, 26, 36, 0.85); padding: 12px 16px; border-radius: 12px; }
#signed-in { font-size: 14px; }
#signed-in button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--text); text-decoration: underline; cursor: pointer; }

/* The Kushu object. */
.product-figure { margin: 0 0 8px; max-width: 260px; }
.product-figure img { display: block; width: 100%; height: auto; }
.soon { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(246, 241, 234, 0.4); font-size: 13px; font-weight: 600; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }

/* The top edge, as on the home page: Safari's bar in the picture's top colour, and the band fading into it. */
html { background-color: #1B2F35; }
body { background-color: var(--ink); }
.band::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, #1B2F35 0%, rgba(27, 47, 53, 0.55) 40%, rgba(27, 47, 53, 0) 100%); }

/* The ask page: a button for each of your friends. */
.ask-friends { display: grid; gap: 10px; }
.ask-friends:empty { display: none; }
