/* Teyora — brand colours and type from the brand sheet (Brand Essentials v1). */
:root {
  --orange: #FF5A0A;
  --teal: #16C7B0;
  --charcoal: #1B1C21;
  --ink: #16171B;
  --paper: #F6F3EE;
  --bg: var(--paper);
  --text: var(--ink);
  --muted: #5f5d57;
  --card: #ffffff;
  --line: rgba(22, 23, 27, 0.10);
  --font: "Avenir Next", "Avenir", -apple-system, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--ink); --text: #f4f2ee; --muted: #a9a69f; --card: var(--charcoal); --line: rgba(255, 255, 255, 0.10); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
header.site .logo img { height: 30px; width: auto; }
header.site nav a { text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 22px; color: var(--muted); }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) { .only-light { display: none !important; } .only-dark { display: block !important; } }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 14ch; }
.hero p { font-size: 20px; color: var(--muted); max-width: 40ch; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.eyebrow.teal { color: var(--teal); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding-bottom: 72px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform 0.15s ease; }
a.product:hover { transform: translateY(-2px); }
.product img.icon { width: 72px; height: 72px; border-radius: 16px; }
.product h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.product p { margin: 0; color: var(--muted); }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 90, 10, 0.12); color: var(--orange); }
.badge.teal { background: rgba(22, 199, 176, 0.14); color: var(--teal); }

/* Tally — the brand's progress motif */
.tally { display: inline-flex; gap: 6px; align-items: flex-end; height: 30px; margin-bottom: 18px; }
.tally span { width: 9px; border-radius: 5px; background: var(--orange); height: 100%; }
.tally span.part { background: linear-gradient(to top, var(--orange) 55%, transparent 55%); box-shadow: inset 0 0 0 2px var(--orange); }

/* Feature list and prose pages */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; padding-top: 8px; padding-bottom: 64px; }
.features h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }
.prose { max-width: 768px; padding-top: 56px; padding-bottom: 72px; } /* 720px of text plus the page margins */
.prose h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose .meta { color: var(--muted); font-style: italic; margin-bottom: 28px; }
.prose ul { padding-left: 22px; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.faq h2 { font-size: 19px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer.site nav a { margin-right: 18px; text-decoration: none; }
footer.site nav a:hover { color: var(--text); }

@media (max-width: 560px) {
  header.site nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 56px 0 40px; }
}
