/* The landing page (landing.html), for visitors who aren't signed in. It uses base.css's tokens and
   buttons, in the default background, so it looks like the shelf it leads to. */

.landing { overflow-x: hidden; }
.landing main { max-width: none; padding: 0; overflow-x: clip; }  /* .wrap pads it instead. clip: the hero glow */
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.landing h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.landing code { white-space: nowrap; }

.eyebrow {
  color: var(--brass); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.lede { color: var(--sage); font-size: clamp(1.08rem, 2vw, 1.25rem); }
.fine { color: var(--sage); font-size: 0.92rem; }

/* ------------------------------------------------------------- top bar */

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap;
  color: var(--parchment); text-decoration: none; font: clamp(1.2rem, 5vw, 1.55rem)/1 var(--display);
}
.brand-mark { flex: none; }
.top .btn { flex: none; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-strong); color: var(--brass);
}
.brand-mark svg { width: 24px; height: 24px; fill: currentColor; }

/* ------------------------------------------------------------- hero */

.hero { text-align: center; padding-top: clamp(28px, 8vh, 84px); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem); max-width: 17ch; margin: 14px auto 20px; text-wrap: balance;
  white-space: normal; overflow: visible;  /* base.css keeps the app's titles to one line */
}
.hero .lede { max-width: 34em; margin: 0 auto 30px; }
.hero .notice { margin: -10px 0 20px; }
.landing .btn.sign-in-google { display: inline-flex; margin: 0; padding: 13px 24px; font-size: 1.05rem; }
.hero .fine { margin-top: 16px; }

/* The screenshots: a thin frame and a long soft shadow, like a window on the desk. */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.hero-shot { position: relative; isolation: isolate; margin-top: clamp(40px, 7vh, 72px); }
.hero-shot::before {
  content: ''; position: absolute; inset: -12% -8% 30%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brass) 22%, transparent), transparent);
  filter: blur(20px);
}
.hero-shot img { mask-image: linear-gradient(to bottom, #000 72%, transparent); }

/* ------------------------------------------------------------- features */

.features { display: grid; gap: clamp(72px, 11vw, 136px); padding: clamp(56px, 9vw, 112px) 0 clamp(80px, 12vw, 150px); }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature:nth-child(even) .copy { order: 2; }
.feature h2 { margin: 10px 0 16px; }
.feature .copy p:not(.eyebrow) { font-size: 1.1rem; color: color-mix(in srgb, var(--parchment) 85%, var(--sage)); }
.feature .copy p + p { margin-top: 12px; }

/* A phone, standing in the wider column. */
.shot.phone { justify-self: center; width: min(300px, 78%); }
.shot.phone img {
  border-radius: 38px; border: 10px solid color-mix(in srgb, var(--pocket) 55%, #000);
  box-shadow: 0 0 0 1px var(--line-strong), 0 28px 70px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------- make it yours */

.looks { text-align: center; }
.looks .lede { margin: 12px auto 0; max-width: 32em; }
.look-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.look-grid figure { margin: 0; }
.look-grid img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.look-grid figcaption { margin-top: 12px; color: var(--sage); font-size: 0.95rem; }

/* ------------------------------------------------------------- privacy notice */

.landing main.prose { max-width: 720px; padding: clamp(24px, 6vh, 56px) 0 24px; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); white-space: normal; overflow: visible; margin-bottom: 6px; }
.prose .lede { margin: 28px 0 12px; color: var(--parchment); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 40px 0 12px; }
.prose p, .prose li { color: color-mix(in srgb, var(--parchment) 85%, var(--sage)); font-size: 1.06rem; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.prose strong { color: var(--parchment); font-weight: 500; }

/* ------------------------------------------------------------- closing and footer */

.closing {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  margin-top: clamp(80px, 12vw, 140px); padding: clamp(40px, 7vw, 72px) 24px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background: radial-gradient(90% 120% at 50% 0%, var(--glow), transparent 70%), var(--door-deep);
}
.closing .lede { max-width: 30em; margin-bottom: 14px; }

.foot {
  display: grid; gap: 8px; text-align: center;
  padding: 48px 0 56px; color: var(--sage); font-size: 0.85rem;
}
.foot p { max-width: 60em; margin-inline: auto; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .copy { order: 0; }
  .look-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
