@font-face {
  font-family: "Inter";
  src: url("assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f4efe6; --fg: #1a1a18; --dim: #66665f; --line: #dcd4c5; --link: #1a1a18;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151514; --fg: #ebebe6; --dim: #a0a098; --line: #2e2e2b; --link: #ebebe6; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* One column for every page: the header, the words and the footer start at the same left edge everywhere. The
   column is centred in the window; the words in it keep a reading measure, and the front page's wider parts
   (the hero, the screenshots, the features) take its whole width. */
header, main, footer { max-width: 66rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
main > *, main > section > * { max-width: 42rem; }
main > section { max-width: none; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1rem; }
header a { color: var(--fg); text-decoration: none; }
header .brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; }
header img { width: 2rem; height: 2rem; border-radius: 22%; }
header nav { display: flex; gap: 1.4rem; font-size: .95rem; }
header nav a { color: var(--dim); }
header nav a:hover { color: var(--fg); }
h1 { font-size: 2.2rem; line-height: 1.2; letter-spacing: -.02em; margin: 2rem 0 .5rem; }
h2 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; margin: 2.2rem 0 .4rem; }
p, ul { margin: .6rem 0; }
ul { padding-left: 1.2rem; }
li { margin: .3rem 0; }
a { color: var(--link); text-underline-offset: .15em; }
.dim { color: var(--dim); }
footer { margin-top: 4rem; padding-bottom: 3rem; font-size: .9rem; color: var(--dim); }
footer::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 1.2rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: .8rem; }
footer a { color: var(--dim); }
footer p { max-width: 42rem; }

/* The front page (written by scripts/market/build-front-page.ts): the words beside the demo video, which plays in a
   phone's outline; the screenshots in one row that scrolls, four to the column's width; the features side by side. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; padding: 2.5rem 0 1rem; }
.hero > * { max-width: none; }
.hero .words > * { max-width: 34rem; }
.hero .words > img { width: 5.5rem; height: 5.5rem; border-radius: 22%; display: block; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -.03em; margin: 1.2rem 0 .4rem; }
.hero p { font-size: 1.2rem; }
.hero .store { display: inline-block; margin-top: 1rem; }
.hero .store img { display: block; width: 150px; height: 50px; }
.demo { margin: 0; width: 17rem; }
.phone { padding: .45rem; border-radius: 2.5rem; background: #0b0b0b; box-shadow: 0 1.2rem 2.5rem -1rem rgb(0 0 0 / .35); }
.phone video { display: block; width: 100%; height: auto; border-radius: 2.05rem; background: #000; }
.demo figcaption { font-size: .85rem; line-height: 1.4; margin-top: .8rem; text-align: center; }
.shots { display: flex; gap: 1rem; max-width: none; margin: 3rem 0 1rem; padding-bottom: .5rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.shots img { flex: none; width: max(13rem, calc((100% - 3rem) / 4)); height: auto; border-radius: 1.1rem; border: 1px solid var(--line); scroll-snap-align: start; }
.features { margin-top: 3rem; }
.features .lead { font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 650; margin: 0 0 .5rem; }
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 3rem; max-width: none; }
.features h2 { margin-top: 1.8rem; }
#cameras { margin-top: 3rem; }
@media (max-width: 44rem) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  .demo { width: min(17rem, 78vw); margin: 1rem auto 0; }
  .shots { margin-right: calc(-1 * clamp(1.25rem, 5vw, 3rem)); padding-right: 1.25rem; }
  .shots img { width: min(15rem, 62vw); }
}
