/* Clanki landing - light, minimal, the app speaks for itself. */

:root {
  --canvas: #f5f4f1;
  --ink: #211f1c;
  --ink-2: rgba(33, 31, 28, 0.62);
  --ink-3: rgba(33, 31, 28, 0.42);
  --stroke: rgba(33, 31, 28, 0.1);
  --amber: #ff9e5c;
  --rose: #fa6b8f;
  --display: "Fraunces", georgia, serif;
  --body: "Nunito", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── nav ── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 36px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 550;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { border-radius: 7px; display: block; }

/* ── buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(33, 31, 28, 0.08); }
.btn:active { transform: translateY(0); }

.btn-small { font-size: 13.5px; padding: 8px 16px; }

.btn-dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.btn-dark:hover { box-shadow: 0 6px 18px rgba(33, 31, 28, 0.28); }

.btn-lamp {
  color: #fff;
  border: none;
  padding: 13px 26px;
  background: linear-gradient(120deg, var(--amber), var(--rose));
  box-shadow: 0 8px 24px rgba(250, 107, 143, 0.28);
}

.btn-lamp:hover { box-shadow: 0 12px 32px rgba(250, 107, 143, 0.38); }

/* ── hero ── */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 88px) clamp(20px, 4vw, 36px) 0;
  text-align: center;
}

h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 480;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 420;
  background: linear-gradient(115deg, #e0763a, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── the app itself ── */

.shot {
  margin: clamp(36px, 6vh, 64px) auto 0;
  max-width: 1080px;
  border-radius: clamp(10px, 1.6vw, 18px);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow:
    0 1px 2px rgba(33, 31, 28, 0.05),
    0 24px 70px -18px rgba(33, 31, 28, 0.25);
  background: var(--canvas);
}

.shot video {
  display: block;
  width: 100%;
  height: auto;
}

/* ── cta ── */

.cta { margin-top: clamp(36px, 6vh, 56px); }

.fine {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

/* ── study section ── */

.study {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(90px, 16vh, 170px) clamp(20px, 4vw, 36px) 0;
  text-align: center;
}

h2 {
  font-family: var(--display);
  font-weight: 480;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.01em;
}

.study .shot { max-width: 920px; }

/* ── footer ── */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 150px) clamp(20px, 4vw, 36px) 40px;
}

footer .brand { font-size: 16px; }
footer .fine { margin: 0; }

.link { color: var(--ink-3); text-decoration: none; }
.link:hover { color: var(--ink); }

/* ── motion ── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
