/* Craftkeep site: the app's wood-and-gold theme. Cinzel for headings, the
   system font for everything you read. */
@font-face { font-family: Cinzel; src: url("/fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Cinzel; src: url("/fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #15110c;
  --bg-2: #1b150f;
  --panel: #211a13;
  --border: #45372a;
  --text: #f2e7d1;
  --muted: #b4a68c;
  --gold: #e3b552;
  --gold-2: #efc15f;
  --heading: #edc777;
  --ink: #1b1309;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--gold-2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; color: var(--heading); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; color: var(--text); }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink);
  font-weight: 600; font-size: 17px; text-decoration: none;
  padding: 14px 24px; border-radius: 10px;
  transition: background 0.15s;
}
.btn:hover { background: var(--gold-2); }
.btn.small { font-size: 15px; padding: 8px 16px; border-radius: 8px; }

/* Nav: dark wood, like the app's header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, #2b2016, #1d150e);
  border-bottom: 1px solid #5a4422;
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; }
.logo span { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 22px; color: var(--text); }
.logo b { color: var(--gold); font-weight: 700; }
.nav nav { display: flex; gap: 22px; flex: 1; }
.nav nav a { color: #c2ae8a; text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 420px at 70% 0%, rgb(227 181 82 / 0.09), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.lead { font-size: 19px; color: #d9cbb0; margin: 0 0 30px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.meta { color: var(--muted); font-size: 14px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(227 181 82 / 0.08); }

/* Features */
.features { padding: 72px 0; background: var(--bg-2); border-block: 1px solid #2a2118; }
.features h2 { text-align: center; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 44px; height: 44px; border-radius: 10px; background: rgb(227 181 82 / 0.12); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase rows */
.showcase { padding: 80px 0 32px; }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-bottom: 80px; }
.row.flip .copy { order: 2; }
.copy p { color: #d9cbb0; font-size: 17px; }

/* Get started */
.start { padding: 72px 0; background: var(--bg-2); border-block: 1px solid #2a2118; text-align: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px auto 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 17px Cinzel, Georgia, serif; margin-bottom: 14px; }
.steps b { color: var(--text); display: block; margin-bottom: 4px; }

/* FAQ */
.faq { padding: 72px 0; }
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.foot { border-top: 1px solid #2a2118; padding: 28px 0 40px; color: #8f7d5f; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.foot a { color: #c2ae8a; }

@media (max-width: 900px) {
  .hero-in, .row { grid-template-columns: 1fr; }
  .row.flip .copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
}

/* What's new page */
.changelog { padding: 64px 0 40px; }
.changelog h1 { font-size: clamp(30px, 4vw, 44px); }
.release { border-top: 1px solid var(--border); padding: 28px 0; }
.release h2 { font-size: 22px; margin-bottom: 4px; }
.release .when { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.release .when b { color: var(--gold); font-weight: 600; }
.release ul { margin: 0; padding-left: 20px; color: #d9cbb0; }
.release li { margin: 6px 0; }
