:root {
  --white: #ffffff;
  --black: #000000;

  --primary-bg: var(--black);
  --secondary-bg: rgba(0, 0, 0, 0.8);

  --text-h: rgba(254, 254, 254, 1);
  --text-p: rgba(254, 254, 254, 0.8);

  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;

  --border-r: 0.5rem;
  --max-width: 800px;

  /* Spacing */
  --spacing-0: 0;
  --spacing-sm: 0.5rem;
  --spacing-base: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Line heights */
  --line-height-base: 1.6;
  --line-height-tight: 1;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;

  /* Border widths */
  --border-width: 1px;

  /* Heights */
  --height-full: 100%;
  --height-screen: 100vh;

  /* Widths */
  --width-full: 100%;
  --width-fit: fit-content;
  --width-hero-bg: 1000px;
  --width-launch-container: 600px;

  /* Heights for backgrounds */
  --height-hero-bg: 800px;

  /* Opacity */
  --opacity-subtle: 0.8;
}

* {
  margin: var(--spacing-0);
  padding: var(--spacing-0);
  box-sizing: border-box;
}
html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background-color: var(--primary-bg);
  color: var(--text-p);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-normal);
}

h1,
h2,
h3 {
  font-weight: var(--font-weight-medium);
  color: var(--text-h);
}
h1 {
  font-size: var(--font-size-xxl);
}
h2 {
  font-size: var(--font-size-xl);
}
h3 {
  font-size: var(--font-size-lg);
}
p {
  color: var(--text-p);
}
a {
  color: inherit;
  text-decoration: underline;
}
button {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-sm) var(--spacing-base);
  border-radius: var(--border-r);
  cursor: pointer;
}
main {
  margin: var(--spacing-0) auto;
  height: var(--height-full);
  max-width: var(--max-width);
}

.btn {
  width: var(--width-fit);
  color: var(--text-p);
  background: none;
  border: var(--border-width) solid var(--text-p);
  margin-top: var(--spacing-base);
}
.btn a {
  text-decoration: none;
}

/* Hero - Index Page */
.hero {
  height: var(--height-screen);
  background-image: url('/assets/wave.png');
  background-repeat: no-repeat;
  background-size: var(--width-hero-bg) var(--height-hero-bg);
  background-position: center center;
  position: relative;
  text-align: center;
}
.hero .overlay {
  height: var(--height-full);
  width: var(--width-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  box-sizing: border-box;
}
.hero .container {
  max-width: var(--max-width);
  margin: var(--spacing-0) auto;
}
.hero h1 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-base);
}

/* Launch Page */
.launch-hero {
  height: var(--height-screen);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg);
  background-image: url('/assets/wave.png');
  background-repeat: no-repeat;
  background-size: var(--width-hero-bg) var(--height-hero-bg);
  background-position: center center;
}
.launch-container {
  max-width: var(--width-launch-container);
  margin: var(--spacing-0) auto;
}
.launch-container h1 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--spacing-md);
}
.launch-container p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-base);
}
p.subtitle {
  font-size: var(--font-size-base);
  color: var(--text-p);
  opacity: var(--opacity-subtle);
}

/* Contact Page */
main section {
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}
main section h1 {
  margin-bottom: var(--spacing-lg);
}