/* HeyHevo website. Plain CSS, no build step. Sizes and colours follow the
   Tailwind v3 build the page was first published with (zinc palette). */

:root {
  --bg: #fff;
  --bg-header: rgb(255 255 255 / 0.8);
  --fg: #18181b;          /* zinc-900 */
  --lead: #52525b;        /* zinc-600 */
  --muted: #71717a;       /* zinc-500 */
  --title-accent: #a1a1aa; /* zinc-400 */
  --border: #e4e4e7;      /* zinc-200 */
  --hover-bg: #f4f4f5;    /* zinc-100 */
}

.dark {
  --bg: #09090b;          /* zinc-950 */
  --bg-header: rgb(9 9 11 / 0.8);
  --fg: #f4f4f5;          /* zinc-100 */
  --lead: #a1a1aa;        /* zinc-400 */
  --muted: #a1a1aa;       /* zinc-400 */
  --title-accent: #71717a; /* zinc-500 */
  --border: #27272a;      /* zinc-800 */
  --hover-bg: #27272a;    /* zinc-800 */
}

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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

h1, p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

body, .theme-toggle, .footer-link {
  transition-property: color, background-color, border-color;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-header);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 64rem;
  height: 4rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.theme-toggle {
  padding: 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--hover-bg);
}

.icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

/* Sun in dark mode (switch to light), moon in light mode. */
.icon-sun { display: none; }
.dark .icon-sun { display: block; }
.dark .icon-moon { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 0;
}

.hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-title span {
  color: var(--title-accent);
}

.hero-lead {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--lead);
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted);
}

.footer-link:hover {
  color: var(--fg);
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; line-height: 1; }
  .hero-lead { font-size: 1.25rem; line-height: 1.75rem; }
  .footer-inner { flex-direction: row; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; line-height: 1; }
}
