/* PROD7 landing (smashly.eu while production is parked). Club palette from
   frontend/styles/globals.css; Fraunces self-hosted (same files and ranges as the app),
   system UI font for the rest. No JS, no cookies, nothing loaded from elsewhere. */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --bg: #f6f2ea;        /* cream */
  --ink: #1e2721;
  --muted: #5b665f;     /* 5.4:1 on --bg */
  --heading: #12352a;   /* green-900 */
  --link: #a04a27;      /* clay-ink, 5.4:1 */
  --mark: #b85c38;      /* clay; white on it 4.5:1 */
  --line: rgba(18, 53, 42, 0.12);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f2b22;
    --ink: #f6f2ea;     /* 13.5:1 */
    --muted: #b5c4b8;   /* 8.3:1 */
    --heading: #f6f2ea;
    --link: #eda27f;    /* 7.3:1 */
    --line: rgba(246, 242, 234, 0.14);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--ui);
}
/* The page box clips the court circles below, so nothing can scroll sideways at 390 px. */
.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
/* Two court circles, as on the app's dark heroes; decoration only. */
.page::before, .page::after {
  content: '';
  position: absolute;
  z-index: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.page::before { width: 26rem; height: 26rem; right: -8rem; top: 18%; }
.page::after { width: 16rem; height: 16rem; right: 8rem; top: 48%; }
.top, .hero, .foot { position: relative; z-index: 1; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.top, .hero, .foot {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--heading);
  text-decoration: none;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--mark);
  color: #fff;
  font: 600 1.25rem/1 var(--display);
}
.brand__name { font: 600 1.4rem/1 var(--display); letter-spacing: 0.2px; }
.lang {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 0.25rem; /* ≥ 44 px touch target with the line height */
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

h1 {
  font: 600 clamp(2.5rem, 9vw, 4.75rem)/1.05 var(--display);
  color: var(--heading);
  letter-spacing: -0.5px;
  max-width: 14ch;
}
.lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  color: var(--muted);
}
.contact { margin-top: 2rem; font-size: 1rem; }

.foot {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  /* a rule as wide as the text column, not the padding box */
  background: linear-gradient(var(--line), var(--line)) 1.5rem 0 / calc(100% - 3rem) 1px no-repeat;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 30rem) {
  .page::before { width: 16rem; height: 16rem; right: -8rem; top: 10%; }
  .page::after { display: none; }
}
