/* Keepsweep — landing page.
   A plain, honest app page: icon, name, one line, download button, one
   screenshot. Accent is the shipped icon's own blue (#0F83FD). Signature
   element: the hero screenshot sits slightly tilted like a mid-swipe card,
   trailed by the icon's three speed-lines drawn in CSS — the one motif, flat
   with subtle depth, no glows. */

:root {
  --blue: #0F83FD;
  --blue-dark: #0570E4;
  --ink: #0B0B0C;
  --ink-2: #6B7280;
  --hair: rgba(11, 11, 12, .08);
  --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ui);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* height:auto is required — the markup carries width/height attributes, and
   without it the browser keeps the attribute height while max-width shrinks
   the width, rendering every image as a stretched slab. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- hero ---------- */
.hero {
  max-width: 620px;
  margin: 0 auto;
  padding: 72px 24px 0;
  text-align: center;
}
.icon {
  width: 112px; height: 112px;
  border-radius: 25px;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(11, 11, 12, .14);
}
h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}
.sub {
  font-size: 21px;
  color: var(--ink-2);
  margin-top: 4px;
}
.lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 22px auto 0;
  max-width: 44ch;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.store:hover { background: var(--blue-dark); }
.store svg { width: 19px; height: 19px; fill: currentColor; flex: none; }

.note {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 14px;
}

.shot {
  width: 290px;
  margin: 56px auto 0;
  border-radius: 34px;
  box-shadow: 0 16px 48px rgba(11, 11, 12, .16);
}

/* ---------- three plain points ---------- */
.points {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.points h2 { font-size: 17px; font-weight: 650; }
.points p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hair);
  padding: 32px 24px 48px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
footer a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
footer a:hover { color: var(--ink); }
footer p { font-size: 13px; color: var(--ink-2); margin-top: 18px; }

@media (max-width: 700px) {
  .hero { padding-top: 52px; }
  h1 { font-size: 34px; }
  .sub { font-size: 19px; }
  .shot { width: 250px; margin-top: 44px; }
  .points { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px; }
}


/* ---------- signature: the swiped-card hero ---------- */
.shot-stage {
  position: relative;
  display: inline-block;
  /* Without this the stage sizes to the image's NATURAL 660px and drags the
     whole page wider than a phone viewport — every text line clipped. */
  max-width: 100%;
  margin-top: 48px;
}
.shot-stage .shot {
  position: relative;
  margin: 0 auto;
  border-radius: 36px;
  border: 1px solid var(--hair);
  box-shadow: 0 24px 48px rgba(11, 11, 12, .10);
  transform: rotate(2.5deg);
}
@media (max-width: 720px) {
  .shot-stage .shot { transform: rotate(1.5deg); }
}


/* ---------- shared chrome for the document pages (privacy / terms / support).
   Ported from the original Light Table sheet when the landing went minimal,
   recolored to the shipped icon's blue. ---------- */
:root { --mono: ui-monospace, 'SF Mono', Menlo, monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.4px; text-decoration: none; }
.brand .glyph {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: var(--blue); position: relative;
  box-shadow: 0 4px 12px rgba(15, 131, 253, .35);
}
.brand .glyph::after {
  content: ""; position: absolute; inset: 6px 6px 7px 8px;
  background: #fff; border-radius: 3px; transform: rotate(-8deg);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.tag {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-2);
}

.doc { padding: 64px 0 20px; }
.doc .wrap { max-width: 760px; }
.doc .tag { display: block; margin-bottom: 12px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -1.4px; font-weight: 800; }
.doc .updated { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); margin-top: 12px; letter-spacing: .5px; }
.doc h2 { font-size: 21px; font-weight: 700; letter-spacing: -.4px; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--hair); }
.doc h2:first-of-type { border-top: 0; padding-top: 8px; }
.doc p, .doc li { color: #29313c; font-size: 16.5px; line-height: 1.62; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--ink); }
.doc .callout { background: #f2f4f7; border: 1px solid var(--hair); border-radius: 16px; padding: 20px 22px; margin: 6px 0 22px; }
.doc .callout p:last-child { margin-bottom: 0; }

/* doc-page footer variant (brand left, links right) */
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .brand { font-size: 16px; }
footer .meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); display: flex; gap: 18px; flex-wrap: wrap; letter-spacing: .3px; }
footer .meta a { text-decoration: none; }
footer .meta a:hover { color: var(--ink); }

/* Long localized nav labels (de "Nutzungsbedingungen") don't fit beside the
   wordmark on phones — collapse the brand to its glyph and tighten the links. */
@media (max-width: 480px) {
  .brand { font-size: 0; gap: 0; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}
