/* Shared styles for sub-pages — dark theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

body{
  font-family:'Inter',-apple-system,sans-serif;
  line-height:1.6;color:#e6edf3;background:#0d1117;
  -webkit-font-smoothing:antialiased;
}

.container{max-width:680px;margin:0 auto;padding:3rem 1.5rem}

h1{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(1.5rem,1.2rem + 1.25vw,2.25rem);
  font-weight:400;color:#e6edf3;margin-bottom:1rem;
}

p{color:#8b949e;margin-bottom:1rem;max-width:65ch}

a{color:#f47458}
a:hover{color:#ff8a72}

.btn-primary{
  display:inline-block;margin-top:1rem;
  padding:0.75rem 1.5rem;border-radius:999px;
  background:#f47458;color:white;
  font-weight:600;text-decoration:none;font-size:0.9375rem;
}
.btn-primary:hover{background:#ff8a72;color:white}

label{display:block;font-size:0.8125rem;font-weight:600;color:#8b949e;margin-top:1rem;margin-bottom:0.25rem}

input,select,textarea{
  width:100%;padding:0.75rem;border-radius:0.5rem;
  border:1px solid rgba(255,255,255,0.1);
  background:#1c2230;font-family:inherit;font-size:1rem;color:#e6edf3;
}

input:focus,select:focus,textarea:focus{
  outline:none;border-color:#f47458;
  box-shadow:0 0 0 3px rgba(244,116,88,0.15);
}

textarea{resize:vertical}

button[type="submit"]{
  margin-top:1.5rem;padding:0.75rem 1.5rem;
  border-radius:999px;background:#f47458;color:white;
  font-weight:600;font-size:0.9375rem;border:none;cursor:pointer;font-family:inherit;
}
button[type="submit"]:hover{background:#ff8a72}

strong{color:#e6edf3}
