/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Space+Grotesk:wght@400;600;700&display=swap');

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', sans-serif;
  background: #f2f2f2;
  color: #333;
  line-height: 1.5;
}
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Logo / Header */
header {
  text-align: center;
  margin-bottom: 2rem;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.01em;
}
.logo .part1 { color: #f7931e; }   /* orange */
.logo .part2 { color: #555; }      /* dark grey */

/* Hero / Cover */
.hero {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.hero p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.hero ul {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
  max-width: 540px;
  margin: 0 auto;
}
.hero ul li {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.6rem;
  position: relative;
}

/* Form */
form {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.form-group { margin-bottom: 1rem; }
label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
input:focus {
  outline: none;
  border-color: #f7931e;
  box-shadow: 0 0 0 2px rgba(247,147,30,0.2);
}
button {
  width: 100%;
  padding: 0.8rem;
  background: #f7931e;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background: #d67a00;
}

/* Success message */
#success-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #e6ffed;
  border: 1px solid #b2f5d0;
  border-radius: 4px;
  color: #2f855a;
  font-weight: 500;
}

/* Loading indicator */
.scoring-loader {
  display: none;
  margin-left: 0.5rem;
}
.scoring-loader:after {
  content: '';
  width: 16px;
  height: 16px;
  margin: 0 0 0 8px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #f7931e;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
footer {
  text-align: center;
  margin: 3rem 0 1rem;
  color: #777;
  font-size: 0.9rem;
}