/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --color-brand: #0f4c5c;
  --color-accent: #f4d58d;
  --color-text: #1f2933;
  --color-muted: #52606d;
  --color-bg: #ffffff;
  --gutter: 1rem;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid #e4e7eb;
}

.site-header__brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-brand);
  text-decoration: none;
}

.site-header__auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__link {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}

.site-header__link:hover { text-decoration: underline; }

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: #0b3a46; }
.button--small { padding: 0.4rem 0.9rem; font-size: 0.9rem; }

/* Hero */
.hero {
  display: grid;
  gap: 1.5rem;
  padding: 2rem var(--gutter);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgb(255 255 255 / 0.07) 0 12rem, transparent 12rem),
    radial-gradient(circle at 5% 100%, rgb(255 255 255 / 0.05) 0 14rem, transparent 14rem),
    linear-gradient(135deg, #0f4c5c, #1b7f79);
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.15;
}

.hero__tagline {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero__image {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  justify-self: center;
}

/* Intro text */
.intro {
  max-width: 45rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
}

.intro__title { color: var(--color-brand); }
.intro p { color: var(--color-muted); }

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 28rem;
    padding-block: 3rem;
  }
  .hero__title { font-size: 3rem; }
  .hero__image { max-width: 36rem; justify-self: end; }
}
