/* Clipboard — landing page styles */

:root {
  --bg: #000000;
  --bg-alt: #0d0d0f;
  --card: #16161a;
  --line: #26262c;
  --text: #f5f5f7;
  --muted: #9a9aa2;
  --accent: #ffd60a;
  --accent-ink: #17170a;
  --radius: 18px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav nav { display: flex; align-items: center; gap: 22px; }

.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }

.nav nav a:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); opacity: .92; }

.btn-sm { padding: 8px 16px; font-size: 14px; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; }

.hi { color: var(--accent); }

.lede { color: var(--muted); font-size: 18px; max-width: 46ch; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

.fineprint { color: #6d6d76; font-size: 14px; margin: 0; }

.hero-shots { position: relative; min-height: 460px; }

.shot {
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .75);
}

.shot-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  transform: rotate(4deg);
  opacity: .85;
}

.shot-front {
  position: relative;
  width: 62%;
  margin-top: 46px;
  transform: rotate(-3deg);
}

/* ---------- sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 32px; }

.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-alt > * { max-width: var(--max); margin-inline: auto; }

/* ---------- feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 { font-size: 19px; }

.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

.ico { font-size: 24px; margin-bottom: 10px; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  margin-bottom: 14px;
}

.steps h3 { font-size: 19px; }

.steps p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- screenshot strip ---------- */

.strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.strip figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }

.strip img { border-radius: 22px; border: 1px solid var(--line); }

.strip figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

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

.privacy p { color: var(--muted); max-width: 62ch; font-size: 17px; }

.privacy .btn-ghost { margin-top: 18px; }

/* ---------- faq ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }

.faq summary::marker { color: var(--accent); }

.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 56px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

.footer > div { display: flex; align-items: center; justify-content: center; gap: 10px; }

.foot-icon { width: 26px; height: 26px; border-radius: 7px; }

.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 18px 0; }

.footer nav a { text-decoration: none; }

.footer nav a:hover { color: var(--accent); }

.copy { color: #5c5c64; font-size: 13px; margin: 0; }

/* ---------- article pages (privacy, support) ---------- */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page h1 { font-size: 34px; }

.page h2 { font-size: 21px; margin-top: 34px; }

.page p, .page li { color: #c9c9d1; }

.page ul { padding-left: 20px; }

.updated { color: var(--muted); font-size: 14px; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-shots { min-height: 0; display: flex; justify-content: center; gap: 14px; }
  .shot-back { position: static; width: 46%; transform: rotate(3deg); }
  .shot-front { width: 46%; margin-top: 0; }
  .nav nav a:not(.btn) { display: none; }
}
