/* Jokla web — shared styles. No build step on purpose: these pages exist to satisfy App Review
   and to catch shared links, so they should stay editable by hand. */

:root {
  --brand: #ff5a00;
  --ink: #16110e;
  --ink-soft: #5d5550;
  --surface: #fff;
  --page: #faf7f5;
  --line: #ece5e0;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

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

/* Header ------------------------------------------------------------------ */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--brand);
  text-decoration: none;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  background: var(--brand);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.hero p {
  margin: 0 auto;
  max-width: 30rem;
  font-size: 19px;
  opacity: 0.94;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.btn.on-light { background: var(--brand); color: #fff; }

.btn:active { transform: translateY(1px); }

/* Content ----------------------------------------------------------------- */

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

h2 { margin: 40px 0 10px; font-size: 23px; letter-spacing: -0.2px; }
h2:first-child { margin-top: 0; }

.muted { color: var(--ink-soft); }
.small { font-size: 15px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-weight: 600; }

/* A placeholder the site must not ship with. Loud on purpose. */
.todo {
  background: #fff4ed;
  border: 2px dashed var(--brand);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 15px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 24px 48px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}

footer.site a { margin: 0 10px; }
