/* Kest website: the app's colours and type (context/theme.js in the app). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #F5EFE3;
  --green: #1B3B2B;
  --sand: #EDE5D6;
  --border: #DDD3C2;
  --ink: #1B1B1B;
  --secondary: #6B6B6B;
  --divider: #E3DCCF;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--green); font-weight: 500; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Small wordmark at the top of Privacy and Support, back to home. */
.top { padding: 28px 0 8px; }
.top a {
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  color: var(--green);
}

main { padding: 32px 0 64px; }

h1 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--green);
}
h2 {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}
p { margin: 0 0 16px; }
.updated { color: var(--secondary); font-size: 15px; margin-bottom: 32px; }
.lead { font-size: 19px; }

/* ---- Home ---- */

.hero { text-align: center; padding: 72px 0 8px; }
.wordmark {
  margin: 0;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--green);
}
.tagline {
  margin: 10px 0 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--green);
}
.intro {
  max-width: 460px;
  margin: 40px auto 0;
  font-size: 19px;
  text-align: center;
}

/* Three phone-shaped placeholders; a swipeable row on narrow screens. */
.shots {
  display: flex;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.shots li {
  flex: 1;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: var(--sand);
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
.shots img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }

@media (max-width: 560px) {
  .shots {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 62%; scroll-snap-align: center; }
  .wordmark { font-size: 56px; }
}

.soon {
  margin: 48px auto 0;
  max-width: 460px;
  padding: 20px;
  border-radius: 20px;
  background: var(--sand);
  text-align: center;
  font-weight: 500;
}

/* ---- Support ---- */

.faq { margin-top: 32px; }
.faq section {
  padding: 20px;
  border-radius: 20px;
  background: var(--sand);
  margin-bottom: 16px;
}
.faq p { margin: 0; color: var(--ink); }

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--divider);
  padding: 24px 0 40px;
  font-size: 15px;
  color: var(--secondary);
}
footer nav { display: flex; gap: 24px; margin-bottom: 8px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
