/*
 * playgreyline.com landing page. Colours are copied from packages/ui/src/tokens/palette.ts
 * (asphalt scale) and semantic.ts (text roles); the typeface is the app's display face, Oswald
 * (SIL OFL 1.1, fonts/OFL.txt), self-hosted so the page makes no third-party requests.
 */

@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --asphalt-900: #0f1115; /* page background */
  --asphalt-850: #14171d; /* header bar */
  --asphalt-600: #2a2f3a; /* border.subtle */
  --asphalt-300: #9a9fab; /* text.muted */
  --asphalt-50: #f5f5f5;  /* text.primary */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--asphalt-900);
  color: var(--asphalt-50);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}

/* Header: logo + name, centred. */
.site-header {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: var(--asphalt-850);
  border-bottom: 1px solid var(--asphalt-600);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase; /* displayXl-style street-signage caps */
}

/* Hero: the app icon and the tagline. */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 48px 16px;
}

.app-icon {
  width: 200px;
  height: 200px;
  border-radius: 22.37%; /* the iOS icon corner, so it looks like the icon on a phone */
  box-shadow: 0 0 0 1px var(--asphalt-600);
}

.tagline {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--asphalt-300);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
