
:root {
  --ink: #142019;
  --muted: #66736b;
  --line: #dce5df;
  --soft: #f5f8f6;
  --accent: #2f7d69;
  --accent-dark: #205c4d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47,125,105,.08), transparent 35%),
    var(--soft);
}

main {
  width: min(100% - 32px, 620px);
  margin: 64px auto;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(20,32,25,.08);
}

main::before {
  content: "✓  TimeForStars™";
  display: block;
  margin-bottom: 30px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

h2 {
  margin-top: 30px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

form {
  margin-top: 28px;
}

label {
  display: block;
  margin-top: 18px;
  font-weight: 750;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cbd7d0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47,125,105,.16);
  border-color: var(--accent);
}

button {
  margin-top: 24px;
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

a {
  color: var(--accent-dark);
  font-weight: 700;
}

small {
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 20px, 620px);
    margin: 20px auto;
    padding: 26px 20px;
    border-radius: 18px;
  }
}
