/* Bhejjo — public site. Design tokens mirror lib/utils/app_theme.dart (AppDesign). */

:root {
  --brand-blue: #3A608F;
  --accent-blue: #6296DF;
  --tint-blue: #EAF2FC;
  --accent-orange: #FC8019;
  --rating-green: #1BA672;
  --ink: #1C1C1C;
  --ink-secondary: #5A5C63;
  --ink-tertiary: #93959F;
  --canvas: #F4F5F7;
  --hairline: #E9E9EB;
  --radius-card: 16px;
  --shadow-card: 0 2px 12px rgba(28, 28, 28, 0.06);
  --max: 780px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--hairline);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

header.site a.logo { display: flex; align-items: center; }

header.site img { width: 34px; height: 34px; border-radius: 8px; display: block; }

header.site .name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.2px;
  color: var(--ink);
  text-decoration: none;
}

header.site nav { margin-left: auto; display: flex; gap: 16px; }

header.site nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
}

header.site nav a:hover { color: var(--accent-blue); }

/* ---------- layout ---------- */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 10px;
  letter-spacing: -0.2px;
}

h3 { font-size: 16px; font-weight: 700; margin: 24px 0 6px; }

p, li { color: var(--ink-secondary); }

li { margin-bottom: 6px; }

a { color: var(--accent-blue); }

.updated {
  color: var(--ink-tertiary);
  font-size: 14px;
  margin: 0 0 28px;
}

.lede { font-size: 17px; color: var(--ink-secondary); }

/* ---------- components ---------- */

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin: 20px 0;
}

.card.tint { background: var(--tint-blue); border-color: #D3E3F8; box-shadow: none; }

.card h2, .card h3 { margin-top: 0; }

.note {
  border-left: 3px solid var(--accent-orange);
  background: #FFF6EE;
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.note p { margin: 0; color: #8A4A10; font-size: 15px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

th {
  font-weight: 700;
  color: var(--ink);
  background: var(--canvas);
  white-space: nowrap;
}

td { color: var(--ink-secondary); }

.btn {
  display: inline-block;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 12px;
}

.btn.ghost {
  background: #fff;
  color: var(--accent-blue);
  border: 1.4px solid var(--accent-blue);
}

.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.grid .card { margin: 0; }

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}

.contact-row:last-child { border-bottom: 0; }

.contact-row span:first-child { color: var(--ink-tertiary); }

.contact-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

/* Marks a value the founder must still confirm. Remove the class when filled. */
.todo {
  background: #FFE9C7;
  color: #8A4A10;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  padding: 28px 20px 40px;
}

footer.site .inner { max-width: var(--max); margin: 0 auto; }

footer.site nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }

footer.site nav a {
  font-size: 14px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 600;
}

footer.site nav a:hover { color: var(--accent-blue); }

footer.site p { font-size: 13px; color: var(--ink-tertiary); margin: 4px 0; }

@media (max-width: 560px) {
  h1 { font-size: 25px; }
  header.site nav { gap: 12px; }
  header.site nav a { font-size: 13px; }
}
