/* Lokali brand, from src/theme.ts. */
:root {
  --background: #ffffff;
  --surface: #e3f4f0;
  --border: #cdeae3;
  --primary: #3dbfb0;
  --brand: #1a7f76;
  --text: #14323a;
  --text-muted: #4e6560;
  --accent: #f2b544;
  --radius-card: 24px;
  --font-text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Logo: honey pin + lowercase wordmark. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pin {
  width: 26px;
  height: 32.5px;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--brand);
}

.logo-large .pin {
  width: 44px;
  height: 55px;
}

.logo-large .wordmark {
  font-size: 48px;
  letter-spacing: -1.5px;
}

.site-header {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 0;
}

/* Home */
.home main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  text-align: center;
  padding: 48px 0;
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 28px 0 16px;
}

.lead {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 auto 32px;
}

/* Primary-style pill: teal with dark text (never white on teal). */
.badge {
  display: inline-block;
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
}

/* Text pages */
.prose h1 {
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 16px 0 8px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin: 36px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  font-weight: 700;
}

.meta,
.muted {
  color: var(--text-muted);
  font-size: 15px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  margin: 20px 0 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Numbered steps with a surface-coloured number circle. */
.steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0 !important;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}

/* Long URLs and emails never force sideways scrolling on phones. */
.prose a {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--surface);
  padding: 20px 16px 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
}
