/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 40%, #fff2cc 100%);
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 24px;
  background: transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

/* Logo */
.header-logo {
  height: 50px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  color: #5f6368;
  padding-bottom: 4px;
}

.nav a:hover {
  color: #333;
}

.nav a.active {
  color: #333;
  font-weight: 700;
  border-bottom: 2px solid #333;
}

/* Main container */
.container {
  max-width: 720px;
  margin: 120px auto 0; /* 120px to account for fixed header */
  padding: 48px 24px;
  text-align: center;
}

h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #333;
}
main {
      max-width: 900px;
      margin: 0 auto;
      padding: 120px 20px 40px; /* top padding to avoid header overlap */
      line-height: 1.6;
    }

h2, h3 {
      margin-top: 2rem;
      color: #222;
  }

p {
  font-size: 1.15rem;
  font-weight: 400;
  color: #5f6368;
  margin-bottom: 40px;
}

/* Signup form */
.signup label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.signup form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap; /* allow stacking on mobile */
}

.signup input {
  padding: 10px 12px;
  font-size: 1rem;
  width: 260px;
  max-width: 100%;
}

.signup button {
  padding: 10px 16px;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.form-message {
  margin-top: 10px;
}
a {
      color: #1a73e8;
      text-decoration: none;
  }

a:hover {
      text-decoration: underline;
  }

/* Responsive Media Queries */
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .signup form {
    flex-direction: column;
    gap: 12px;
  }

  .signup input,
  .signup button {
    width: 100%;
  }

  .container {
    margin-top: 160px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  p {
    font-size: 0.95rem;
  }

  .header-inner {
    padding: 0 16px;
  }

  .nav a {
    font-size: 0.95rem;
  }
   .container {
    margin-top: 200px;
    padding: 24px;
  }
}
