/* QXR Markets — rebuilt from scratch */

:root {
  /* Palette (oklch, mirrors the original warm-paper theme) */
  --background: oklch(97.5% 0.008 95); /* warm off-white */
  --foreground: oklch(32% 0.025 250); /* deep slate */
  --muted-foreground: oklch(55.4% 0.046 257.417); /* mid slate */
  --border: oklch(92.9% 0.013 255.508); /* hairline rules */

  /* Same stacks as the original — no webfonts are loaded there either;
     body falls back to the system monospace, heading to Georgia. */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
    monospace;

  --radius: 0.625rem;
}

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

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

body,
h1,
p {
  margin: 0;
}

body {
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-feature-settings: "liga", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: full-viewport centered column */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.hero__inner {
  max-width: 28rem; /* max-w-md */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Uniform vertical rhythm (space-y-5 => 1.25rem) */
.hero__inner > * + * {
  margin-top: 1.25rem;
}

.hero__logo {
  width: 5.5rem; /* 88px */
  height: 5.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 1.875rem; /* text-3xl */
  line-height: 1.2; /* Tailwind text-3xl line-height */
  font-weight: 500;
  letter-spacing: -0.025em; /* tracking-tight */
  color: var(--foreground);
}

.hero__text {
  max-width: 28rem;
  font-size: 0.75rem; /* text-xs */
  line-height: 1.625; /* leading-relaxed */
  color: var(--muted-foreground);
}

.hero__contact {
  padding-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hero__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero__mail:hover {
  color: var(--foreground);
}

.hero__mail-icon {
  width: 0.875rem; /* h-3.5 */
  height: 0.875rem;
}

.hero__footer {
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.625rem; /* text-[10px] */
  letter-spacing: 0.025em; /* tracking-wide */
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
}

/* md breakpoint — bump up the display + body sizes */
@media (min-width: 768px) {
  .hero__title {
    font-size: 2.25rem; /* md:text-4xl */
    line-height: calc(2.5 / 2.25); /* Tailwind text-4xl line-height */
  }

  .hero__text,
  .hero__contact {
    font-size: 0.875rem; /* md:text-sm */
  }
}
