@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: #ffffff;
  --foreground: #09090b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --brand: #00a1d4;
  --brand-hover: #0089b5;
  --navy: #2d343d;
  --navy-deep: #1f242b;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brand);
  color: #fff;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.lockup img {
  width: auto;
  height: 22px;
}

/* Home */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  position: relative;
  background-color: var(--navy);
  background-position: center 38%;
  background-size: cover;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero > * {
  position: relative;
}

.header-logo {
  display: block;
  width: auto;
  height: 44px;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-body {
  padding-top: 72px;
  padding-bottom: 96px;
}

.hero-body .kicker {
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -2px;
}

.hero-lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: 18px;
  color: #d4d4d8;
}

.section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 28px;
}

.section-header .kicker {
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: #d4d4d8;
}

.card-image {
  aspect-ratio: 16 / 10;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.card-copy {
  display: grid;
  gap: 6px;
  padding: 20px 22px 24px;
}

.card-copy .kicker {
  font-size: 11px;
  letter-spacing: 1.5px;
}

.card h3 {
  font-size: 20px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .lockup {
  color: var(--navy);
}

@media (max-width: 700px) {
  .wrap {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-body {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.4px;
  }

  .section {
    padding: 48px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Login (same pattern as the PGA TOUR site) */

.login {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #09090b url("assets/hero.webp") center 38% / cover no-repeat;
  color: #fff;
}

.login::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.login-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 360px);
  gap: 12px;
}

.login-logo {
  justify-self: center;
  width: auto;
  height: 64px;
  margin-bottom: 36px;
}

.login-panel label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d4d4d8;
}

.login-field {
  display: flex;
  gap: 8px;
}

.login-field input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--foreground);
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  outline: none;
}

.login-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 161, 212, 0.16);
}

.login-field input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.login-field button {
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
}

.login-field button:hover {
  background: var(--brand-hover);
}

.login-error {
  color: #fca5a5;
  font-size: 12px;
}
