/* Lores Edge - Proprietary Copy Trading Strategy */
/* Premium financial markets landing page */
/* HTML5 + CSS3 only */

:root {
  --font-display: "Cinzel", serif;
  --font-body: "Montserrat", sans-serif;

  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.85);
  --color-primary: #ffffff;
  --color-secondary: rgba(255, 255, 255, 0.7);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  --logo-size-desktop: 1.75rem;
  --logo-size-mobile: 1.35rem;
  --nav-size: 0.95rem;

  --headline-size-desktop: 3.5rem;
  --headline-size-tablet: 2.5rem;
  --headline-size-mobile: 1.75rem;

  --legal-size: 0.8rem;
}

/* Reset and accessibility */

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: #000;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hero section */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-image: url("images/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 40% 50%;
  background-color: #000;

  padding-bottom: calc(var(--legal-size) * 20 + var(--space-sm) * 2);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );

  pointer-events: none;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: var(--space-lg) var(--space-xl);
}

/* Logo */

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
}

.logo-lores {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--logo-size-desktop);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.logo-edge {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.8;
}

/* Navigation */

.site-nav {
  display: flex;
  gap: var(--space-lg);
}

.site-nav a {
  font-family: var(--font-body);
  font-size: var(--nav-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  text-transform: capitalize;

  position: relative;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.7;
  transform: translateY(-1px);
}

/* Main headline */

.hero-headline {
  position: absolute;
  top: calc(50% - 1.75rem);
  left: var(--space-xl);
  z-index: 2;

  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--headline-size-desktop);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  color: var(--color-text);
  max-width: 22ch;

  pointer-events: none;
}

.hero-headline a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  background: transparent;
}

.hero-headline a:hover,
.hero-headline a:focus-visible {
  color: var(--color-primary);
}

/* Footer and legal disclosure */

.site-footer {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-xl);

  z-index: 2;

  width: calc(100% - var(--space-xl) * 2);
}

.legal {
  font-family: var(--font-body);
  font-size: var(--legal-size);
  line-height: 1.5;

  color: var(--color-text-muted);
  text-align: left;

  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;

  display: inline-block;
}

/* Tablet */

@media (max-width: 1023px) and (min-width: 768px) {
  .site-header {
    padding: var(--space-md) var(--space-lg);
  }

  .hero-headline {
    font-size: var(--headline-size-tablet);
    left: var(--space-lg);
    max-width: 26ch;
  }

  .site-footer {
    bottom: var(--space-sm);
    left: var(--space-lg);
    width: calc(100% - var(--space-lg) * 2);
  }
}

/* Mobile */

@media (max-width: 767px) {
  .site-header {
    padding: var(--space-md);
  }

  .logo-lores {
    font-size: var(--logo-size-mobile);
  }

  .logo-edge {
    font-size: 0.8rem;
  }

  .site-nav {
    gap: var(--space-sm);
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .hero {
    background-position: 40% center;
    min-height: 100svh;
    padding-bottom: 13rem;
  }

  .hero-headline {
    font-size: var(--headline-size-mobile);
    left: var(--space-md);
    max-width: 18ch;
    letter-spacing: 0.04em;

    top: 43%;
  }

  .site-footer {
    bottom: var(--space-sm);
    left: var(--space-md);
    width: calc(100% - var(--space-md) * 2);
  }

  .legal {
    font-size: 0.65rem;
    line-height: 1.45;
  }
}

/* Small mobile screens */

@media (max-width: 380px) {
  .site-header {
    padding: 1rem;
  }

  .logo-lores {
    font-size: 1.15rem;
  }

  .logo-edge {
    font-size: 0.7rem;
  }

  .site-nav {
    gap: 0.65rem;
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .hero-headline {
    left: 1rem;
    font-size: 1.55rem;
  }

  .site-footer {
    left: 1rem;
    width: calc(100% - 2rem);
  }
}

/* Accessibility: keyboard focus */

a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

/* Focus for hero headline link - no outline */
.hero-headline a:focus-visible {
  outline: none;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
